How to disable previous dates while using in ajaxToolkit CalendarExtender
Disable previous Dates in ajaxToolkit CalendarExtender
calendarextender
Related Question
- How to hide ajaxtoolkit calendarextender when lost focus
- C# – How to make CalendarExtender StartDate attribute take the current date
- How to override AjaxToolkit CalendarExtender date to string conversion
- C# – How to disable previous and future dates in ajax calendarextender v3.5
- How to disable future date in ajax 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.