0
我相信我正在使用版本2008的RadDatePicker控件。在JavaScript中引用datePicker之后,我尝试使用SetDate()函数设置日期。但是它给了我“对象不支持这种方法或方法”。 telerik网站上显示的当前javascript函数不存在于我正在使用的控件中。不过,我从调试器中发现datePicker控件的Methods中有一个SetDate(_2c)函数。我试着给下面的功能的setDateRadDatePicker SetDate()不起作用
datePicker.SetDate('1/1'2012') gives me "Object doesn't support this property or method"
如果我尝试以下方法:
datePicker.SetDate(new Date('1/1/2012')) it gives me undefined
任何帮助将不胜感激。