Hi
I am using below code for datepicker
<
telerik:RadDatePicker
ID
=
"RadDatePicker1"
runat
=
"server"
MinDate
=
"2015/7/7"
>
<
DateInput
runat
=
"server"
>
<
ClientEvents
OnError
=
"pickerError"
/>
</
DateInput
>
</
telerik:RadDatePicker
>
and below is my javascript code
function
pickerError(sender, args)
{
alert(
"Please fix the dates"
);
}
So when we enter an invalid date say 2015/2015/2015 the pickerError method is called and an alert box is shown but when we try to edit the date (click on the textbox) the pickerError method is called again. Does anyone know why this is happening?
Please note that this was working fine in Q2 2012, but we have upgraded to Q2 2015.
Also, I have watched args.get_reason() and in both cases its value is 1.
Thanks