Author: SandyH | Posted on: 8/27/2003 8:34:43 AM | Views : 374

Hi,

I got this error message when I view the page which has this rangervalidator control:
"MaximumValue='' cannot be converted to Date", does anybody know what's wrong here?
Thanks in advance.



<asp:RangeValidator id="RangeValidator1" runat="server" Type="Date" ControlToValidate="TextBox1" ErrorMessage="Not valid" Display="Dynamic" MinimumValue="01/01/1800" MaximumValue="<%#DateTime.Today.ToShortDateString()%>">*</asp:RangeValidator>

...

Go to the complete details ...