Hallo,
I have to selected a date in JS. But the selected date isn't displayed and after postback the date is not available.
If I selected the date by selected date on datepicker via UI, it works fine.
Here my test code:
Thanks for help
I have to selected a date in JS. But the selected date isn't displayed and after postback the date is not available.
If I selected the date by selected date on datepicker via UI, it works fine.
Here my test code:
var
todaysDate = new Date();
var todaysDate2 = [todaysDate.getFullYear(), todaysDate.getMonth(), todaysDate.getDate()];
$find(controlId).get_calendar().selectDate(todaysDate2,
true);
$find(controlId).get_dateInput().set_value(todaysDate2);
Thanks for help