1
Answer

How to show the asp:comparevalidator message in Alert Box?

Raja

Raja

8y
257
1
I have used
  <asp:CompareValidator ID="CompareValidator1" ValidationGroup="Date" ForeColor="Red"
runat="server" ControlToValidate="txt1" ControlToCompare="txt2" Operator="LessThan" ErrorMessage="start date must be greater than end Date"
Type="Date"> </asp:CompareValidator>
 
 
Now i Want to show the error message in alert box.
Answers (1)