|
Rank: Newbie Groups: Member
Joined: 6/27/2008 Posts: 2
|
The EO.Web calender Control do not have a property to disable selection of dates by end user (Like one name SelectionMode in ASP.NET 2.0 Calender control, to make it read only i used to set SelectionMode ="None";) How can i make EO.Web calender Control readonly?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can do that by setting the DatePicker's Enabled to false.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 6/27/2008 Posts: 2
|
The EO.Web calender Control do not have a property to disable selection of dates by end user (Like one name SelectionMode in ASP.NET 2.0 Calender control, to make it read only i used to set SelectionMode ="None";) How can i make EO.Web calender Control readonly?
Sorry, I did not get that.. I can't find a property like "DatePickerEnabled" in EO.Web Calender. Any other way to do that?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Sorry I thought you were using DatePicker control. To disable all dates in the Calendar control, set MaxValidDate and MinValidDate to a date far out of reach. For example:
Code: C#
Calendar1.MinValidDate = DateTime.MinValue;
Calendar1.MaxValidDate = DateTime.MinValue;
Thanks
|
|