Posted on: 3/25/2014 6:20:24 PM | Views : 529

I have 2 div tags in aspx page. i have code inside it as 
Begin Date:<asp:TextBox ID="tbBDate" Style="float: none" runat="server" ValidationGroup="vg2"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Begin Date is needed" ControlToValidate="tbBDate" ValidationGroup="vg2" ForeColor="Red"></asp:RequiredFieldValidator> <asp:CompareValidator ID="CompareValidator2" runat="server" ErrorMessage="Begin date is greater than or equal to end date" Type="Date" ControlToCompare="tbBDate" ControlToValidate="tbEDate" Operator="GreaterThan" ValidationGroup="vg2" ForeColor="Red"></asp:CompareValidator> <br /> End Date:<asp:TextBox ID="tbEDate" Style="float: none" ...

Go to the complete details ...