All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi friends
I have the function to compare the two date on "Onpopupclosing",
after comparing two date I displayed the message and after closing that message,
I want to set the initial date to that datepicker not selected date.
please help me
function
popupClosing(sender, args) {
if
(
true
) {
// some custom validation
setTimeout(resetSelectedDate, 1, [sender.get_id(), sender.get_selectedDate()]);
}
resetSelectedDate(arguments) {
$find(arguments[0]).set_selectedDate(arguments[1]);