D
David Thielen
Hi;
I have:
<asp:Calendar ID="mapCalendarValue" runat="server"
Visible="false"></asp:Calendar>
<asp:RequiredFieldValidator ID="mapCalValidator" runat="server"
ErrorMessage="RequiredFieldValidator"
ControlToValidate="mapCalendarValue"></asp:RequiredFieldValidator>
which gives me:
[HttpException (0x80004005): Control 'mapCalendarValue' referenced by the
ControlToValidate property of 'mapCalValidator' cannot be validated.]
How can I require a selected date in the calendar control?
I have:
<asp:Calendar ID="mapCalendarValue" runat="server"
Visible="false"></asp:Calendar>
<asp:RequiredFieldValidator ID="mapCalValidator" runat="server"
ErrorMessage="RequiredFieldValidator"
ControlToValidate="mapCalendarValue"></asp:RequiredFieldValidator>
which gives me:
[HttpException (0x80004005): Control 'mapCalendarValue' referenced by the
ControlToValidate property of 'mapCalValidator' cannot be validated.]
How can I require a selected date in the calendar control?