<tr> <td><b>Re-Contact Date :</b> </td> <td><asp:TextBox ID="txtReminderDate" runat="server" Width="70px" /> <asp:CompareValidator ID="cvReminderDate" ValidationGroup="a" runat="server" ControlToValidate="txtReminderDate" Type="Date" ErrorMessage="Please Enter Valid Date" Display="None" Operator="DataTypeCheck" SetFocusOnError="true"></asp:CompareValidator> <asp:RangeValidator runat="server" ID="rvReminderDate" Type="Date" ValidationGroup="a" ControlToValidate="txtReminderDate" MaximumValue="01/01/9999" MinimumValue="01/01/1900" ErrorMessage="Reminder date can not less then 01/01/1900" Display="None" SetFocusOnError="True" /> <asp:RequiredFieldValidator ID="rfvReminderDate" ValidationGroup="a" runat="server" ErrorMessage="Please Enter Date." Display="None" SetFocusOnError="true" ControlToValidate ="txtReminderDate"></asp:RequiredFieldValidator> </td> </tr>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)