This question is locked. New answers and comments are not allowed.
I want to get a selected value off a datepicker control. The code I am using is
@Html.Telerik().DatePicker().Name("to").Format("dd-MM-yyyy").Value(DateTime.Now.Date)
The JavaScript code I am using is
var myDate = $('#to').data('tDatePicker').value();
However this throws a JavaScript error saying "Undefined"