【发布时间】:2014-04-23 06:06:27
【问题描述】:
我正在使用 Ajax 工具包日历扩展器控件,我想限制从 1900 年到当前年份的年份选择。我在这里看到Year Limit 使用 StartDate 和 EndDate 但是当我在后面写代码时
calendarext.StartDate
给出错误
'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?)
即使在设计器中我检查了属性窗口,该控件也不存在这样的属性
【问题讨论】:
标签: asp.net ajaxcontroltoolkit