Try getting a new version of Ajax control toolkit..The Start and EndDate properties were introduced in the releases after September 2011..I have getting both Start Date and End Date properties on calendar extender..
Ajax tool kit Calendar Extender Limit Year selection
-
07-07-2023 - |
Question
I am using Ajax tool kit calendar extender control, I want to limit the year selection from 1900 to current year only. I have seen here Year Limit to use StartDate and EndDate But when in code behind I am writing
calendarext.StartDate
its giving error
'AjaxControlToolkit.CalendarExtender' does not contain a definition for 'StartDate' and no extension method 'StartDate' accepting a first argument of type 'AjaxControlToolkit.CalendarExtender' could be found (are you missing a using directive or an assembly reference?)
Even in designer I checked in properties window,there is no such property exists for this control
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow