Telerik RadCalendar provides several properties you can use to select special dates, display selected dates, set the first day of the week, etc.
-
The
FirstDayOfWeek property specifies the day to display as the first day of the week. The
SelectedDate property specifies the selected date to display.
-
The
FocusedDate property specifies the focused date to display (by default the focused date is the current date). The
FocusedDateColumn property specifies the column with the focused date to display. The
FocusedDateRow property specifies the row with the focused date to display. Both properties are used and should be changed in multiview mode only.
-
The
RangeMinDate property specifies the lowest bound of the valid dates range available for selection. The
RangeMaxDate property specifies the the highest bound of the valid dates range available for selection.
Example:
| ASPX |
Copy Code |
|
<rad:radcalendar id="RadCalendar1" Runat="server" FirstDayOfWeek="Wednesday"> RangeMinDate="2006-01-01" RangeMaxDate="2007-01-01" <SpecialDays> <rad:RadCalendarDay Date="2005-11-08"></rad:RadCalendarDay> <rad:RadCalendarDay Date="2005-11-09"></rad:RadCalendarDay> <rad:RadCalendarDay Date="2005-11-10"></rad:RadCalendarDay> </SpecialDays> <SelectedDates> <rad:RadDate Date="2005-10-26"></rad:RadDate> <rad:RadDate Date="2005-10-27"></rad:RadDate> <rad:RadDate Date="2005-10-28"></rad:RadDate> </SelectedDates> </rad:radcalendar> |
See Also