Welcome Guest Search | Active Topics | Sign In | Register

How to make Calender Control ReadOnly Options
Arpit
Posted: Friday, June 27, 2008 2:18:55 AM
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?
eo_support
Posted: Friday, June 27, 2008 8:52:47 AM
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
Arpit
Posted: Friday, June 27, 2008 10:59:10 PM
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?
eo_support
Posted: Saturday, June 28, 2008 9:04:30 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.