4 Answers, 1 is accepted
0
Hi Thorgeir,
If you are in SelectionMode=Single you can set selected date using calendar's SelectedDate property like:
For other SelectionModes (Multiple and Extended) you should use the calendar's SelectedDates property like:
If you have other questions, we will be glad to help.
Sincerely yours,
Hristo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
If you are in SelectionMode=Single you can set selected date using calendar's SelectedDate property like:
RadCalendar calendar = new RadCalendar(); |
calendar.SelectionMode = SelectionMode.Single; |
calendar.SelectedDate = new DateTime(2008, 7, 7); |
For other SelectionModes (Multiple and Extended) you should use the calendar's SelectedDates property like:
RadCalendar calendar = new RadCalendar(); |
calendar.SelectionMode = SelectionMode.Extended; |
calendar.SelectedDates.Add(new DateTime(2008, 7, 7)); |
calendar.SelectedDates.Add(new DateTime(2008, 7, 8)); |
calendar.SelectedDates.Add(new DateTime(2008, 10, 10)); |
If you have other questions, we will be glad to help.
Sincerely yours,
Hristo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Prakash
Top achievements
Rank 1
answered on 24 Aug 2009, 07:17 AM
Control Name : RadDatePicker
Environment : SilverLight with C#
Issue : Currently datepicker control in my application date displays format taking from my machine regional date setting format.
How can i change customizes date format in raddatepicker control
Please help
Environment : SilverLight with C#
Issue : Currently datepicker control in my application date displays format taking from my machine regional date setting format.
How can i change customizes date format in raddatepicker control
Please help
0
Prakash
Top achievements
Rank 1
answered on 24 Aug 2009, 07:17 AM
Control Name : RadDatePicker
Environment : SilverLight with C#
Issue : Currently datepicker control in my application date displays format taking from my machine regional date setting format.
How can i change customizes date format in raddatepicker control
Please help
Environment : SilverLight with C#
Issue : Currently datepicker control in my application date displays format taking from my machine regional date setting format.
How can i change customizes date format in raddatepicker control
Please help
0
Hi Chennai MGL,
You should use the Culture property of RadDatePicker to customize the date format.
Kind regards,
Valeri Hristov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
You should use the Culture property of RadDatePicker to customize the date format.
Kind regards,
Valeri Hristov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.