Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
here is my code
XML
<asp:CompareValidator ID="CompVRejQ" runat="server" ControlToCompare="txtRecQty" ControlToValidate="txtRej_Qty" ErrorMessage="Rejected Qty cannot be more than the recieved Qty!" ForeColor="Red" Operator="LessThanEqual" Type="Integer" ValidationGroup="btn_OK">
Posted
Updated 25-Oct-13 20:17pm
v3

1 solution

HI,
Friend ...

plz add this property in the code..

EnableClientScript="true"

By Default CompareValidator EnableClientScript is true.

till it is not working then forcefully assign EnableClientScript="true"....

Hopefully it works...
Best of Luck...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900