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.
精彩评论