Skip to main content

Posts

Showing posts with the label Semi Formatted

asp.net - How to select a date range from a Calendar

Select date range form calendar Calendar is an ASP.NET web server control. Calendar control displays the dates for one month at a time and a total of six weeks appear at a time. Users can select an individual date or multiple dates (date range) from Calendar server control. By default, Calendar control is enabled for date selection. each day of the Calendar contains a LinkButton control that raises an event when it is clicked. The Calendar SelectionMode property gets or sets the date selection mode on the Calendar control. Selection mode specifies whether the user can select a single day, a week, or an entire month from a Calendar server control. Calendar SelectionMode property value type is System.Web.UI.WebControls.CalendarSelectionMode. We can set the SelectionMode property value from one of the values of the CalendarSelectionMode enumeration. The default value of this property is 'Day' which means a user can select a single d...