I'm attempting to use two RadDatePickers on a page with RequiredFieldValidators and some javascript (the javascript hides and shows a couple of panels on the page, neither of which contains the DatePickers.) My problems are twofold:
1. When focusing on the DateInput field, the calendar does not pop up even though I have it set to.
2. If I type in a date in either field and submit the page, the value of both is null, which of course trips my validators.
Are these issues related to the shared calendar bug? I'm using verion 2009.2.701.35. If not, could you provide any insight as to how to fix the problem? I can't for the life of me figure anything out. The problem is present in both IE and Chrome, and the other javascript on the page functions so it isn't a javascript issue. I am importing JQuery at the top of the page but I wouldn't think that would mess anything up.
My code, such as it is, is below. As you can see there's nothing special.
1. When focusing on the DateInput field, the calendar does not pop up even though I have it set to.
2. If I type in a date in either field and submit the page, the value of both is null, which of course trips my validators.
Are these issues related to the shared calendar bug? I'm using verion 2009.2.701.35. If not, could you provide any insight as to how to fix the problem? I can't for the life of me figure anything out. The problem is present in both IE and Chrome, and the other javascript on the page functions so it isn't a javascript issue. I am importing JQuery at the top of the page but I wouldn't think that would mess anything up.
My code, such as it is, is below. As you can see there's nothing special.
<
telerik:RadDatePicker
ID
=
"rfsDate"
runat
=
"server"
>
</
telerik:RadDatePicker
>
<
asp:RequiredFieldValidator
ID
=
"reqRfsDate"
ControlToValidate
=
"rfsDate"
runat
=
"server"
Display
=
"Static"
ErrorMessage
=
"Please enter a value for the 'RFS Date' field"
Visible
=
"true"
text
=
" *"
ValidationGroup
=
"formInput"
Font-Size
=
"Medium"
/>
protected
void
Page_Load(
object
sender, EventArgs e) {
rfsDate.DateInput.DateFormat =
"MM/dd/yyyy"
;
rfsDate.ShowPopupOnFocus =
true
;
}