mardi 22 avril 2014

Ajax tool kit Calendar Extender Limit Year selection


Vote count:

0




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



asked 2 mins ago






Aucun commentaire:

Enregistrer un commentaire