【问题标题】:Ajax tool kit Calendar Extender Limit Year selectionAjax 工具包 Calendarextender 限制年份选择
【发布时间】: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


    【解决方案1】:

    尝试获取新版本的 Ajax 控件工具包。StartEndDate 属性是在 9 月之后的版本中引入的2011..我在日历扩展器上同时获得了 Start Date 和 End Date 属性..

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多