开发者

Telerik MVC DateTimePicker Set value in Javascript

I'm setting the value of the datetime picker 开发者_JAVA百科at client side using

$('#ToDate').data('tDateTimePicker').value(javascriptdateobject);

(I do this on client event 'OnLoad' as I couldn't find any other suitable method)

I see the value being set on the datetimepicker textbox. However when I open the datetimepicker the date is not set in the calendar.

What additional step(s) I need to do in order to propagate the new value to the calendar?

Thanks!


This should suffice. Go check the client-api online demo for a working demonstration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜