This is a migrated thread and some comments may be shown as answers.

Disable Radcalendar multi date selection

2 Answers 124 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
jeevitha
Top achievements
Rank 1
jeevitha asked on 30 Nov 2009, 09:14 AM
Hi,

I have multiview calendar control. I could able to bind the selected dates in the calendar control. I need to show the calendar as  a readonly control. I should not allow the user to select dates from the calendar, If i give enabled="false" property then I could not view my selected dates in the calendar.
<telerik:RadCalendar ID="RadCalendar1"    
                              runat="server" Font-Names="Arial, Verdana, Tahoma"
                            MultiViewColumns="3" MultiViewRows="2"  
                             >
                        </telerik:RadCalendar>
.cs:
                RadCalendar1.SelectedDates.Add(new RadDate(DateTime.Today));
                RadCalendar1.SelectedDates.Add(new RadDate(2009, 11, 11));
Pls help me





2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 30 Nov 2009, 09:24 AM
Hello Jeevitha,

You should set the PresentationType property to Preview in order to disable the selection.
PresentationType Property

<telerik:RadCalendar PresentationType="Preview" ID="RadCalendar1" runat="server" />

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
jeevitha
Top achievements
Rank 1
answered on 30 Nov 2009, 09:33 AM
Thank you very much Daniel.. it works
Tags
Calendar
Asked by
jeevitha
Top achievements
Rank 1
Answers by
Daniel
Telerik team
jeevitha
Top achievements
Rank 1
Share this question
or