Hi,
I have a RadDatePicker with the following code
where keyUp() is defined as:
The idea is simple, save the value upon hitting the ENTER key.
However, when using IE 8 (yes, only IE but works on Chrome), we get the error as seen in the attached file.
What could be wrong?
We're not setting any SelectedDate property in the button click. I also tried to break point our save button event and the error happens even before the first line is hit. So I'm guessing it's a telerik control problem.
Thanks and regards,
Rafferty
I have a RadDatePicker with the following code
<
telerik:RadDatePicker
ID
=
"rdpDateOfBirth"
runat
=
"server"
EnableViewState
=
"true"
MinDate
=
"1/1/1900"
OnKeyUp
=
"keyUp(this, event);"
>
<
DateInput
runat
=
"server"
ID
=
"radDateInput"
font-size
=
"1.0em"
DateFormat
=
"dd-MM-yyyy"
MinDate
=
"1/1/1900"
</DateInput>
</
telerik:RadDatePicker
>
where keyUp() is defined as:
function
keyUp(sender, e)
{
e = e || window.event;
if
(e.keyCode == 13) {
var
defaultButtons = $(
'.saveButton'
);
if
(defaultButtons.length != 0) {
var
btn = defaultButtons[0];
btn.focus();
btn.click();
}
}
}
The idea is simple, save the value upon hitting the ENTER key.
However, when using IE 8 (yes, only IE but works on Chrome), we get the error as seen in the attached file.
What could be wrong?
We're not setting any SelectedDate property in the button click. I also tried to break point our save button event and the error happens even before the first line is hit. So I'm guessing it's a telerik control problem.
Thanks and regards,
Rafferty