views:

3294

answers:

2

How to disable previous dates while using in ajaxToolkit CalendarExtender

A: 

One Option is to use a rangevalidator on the textbox the calenderextender is bound to. Ie if you have the TargetID of the calendar extender set to tb1 add a rangeValidator to flag when the contents of tb1 is before today.

Another option is using javascript and here is a good example: http://www.dotnetcurry.com/ShowArticle.aspx?ID=149 TIP 6.

A: 

Please check the following solution. This might help you: http://gratisaccount.wordpress.com/2008/10/22/disable-dates-in-calendarextender/

Vivek Sharma