Disable previous Dates in ajaxToolkit CalendarExtender


How to disable previous dates while using in ajaxToolkit CalendarExtender

Best Solution

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.