Hi, I'm trying to use some of the client events of the DateInput in the RadDatePicker and anytime I assign any of the client events a function, not only do they not work, but the date validation stops running and clicking the calendar icon does not bring up the calendar.
One example is as follows:
I can put any code in the blur() function, none of them work (alerts, changing the values of controls on the page, even nothing at all). Just having that assignment to do something OnBlur stops the control from working.
I've tried using the OnFocus and OnValueChanged clientevents as well, with the same results.
Just for fun I even tried to create a new RadDatePicker on a different page:
Without the client event, it works. With the event, nothing works.. no calendar popup, no date validation.
Thanks in advance,
Chris
One example is as follows:
<
telerik:RadDatePicker
ID
=
"rdpNotifyDate"
runat
=
"server"
>
<
Calendar
UseColumnHeadersAsSelectors
=
"False"
UseRowHeadersAsSelectors
=
"False"
ViewSelectorText
=
"x"
></
Calendar
>
<
DatePopupButton
HoverImageUrl
=
""
ImageUrl
=
""
/>
<
DateInput
DateFormat
=
"M/d/yyyy"
DisplayDateFormat
=
"M/d/yyyy"
>
<
ClientEvents
OnBlur
=
"blur();"
/>
</
DateInput
>
</
telerik:RadDatePicker
>
I can put any code in the blur() function, none of them work (alerts, changing the values of controls on the page, even nothing at all). Just having that assignment to do something OnBlur stops the control from working.
I've tried using the OnFocus and OnValueChanged clientevents as well, with the same results.
Just for fun I even tried to create a new RadDatePicker on a different page:
<
telerik:RadDatePicker
ID
=
"rdp"
runat
=
"server"
ClientEvents-OnDateSelected
=
"alert('hello');"
></
telerik:RadDatePicker
>
Without the client event, it works. With the event, nothing works.. no calendar popup, no date validation.
Thanks in advance,
Chris