I have 3 currency type inputs in a form. Here is the code:
When I change the amount in one of the fields and update, the compare validator kicks off on existing valid data also and gives the error message. I have to edit the field removing 2 extra decimal places.
<table width="100%" border="1" cellpadding="15" >
<tr align="left"><td>
<asp:Label ID="label4" runat="server" Text="Cash Amount:" />
<asp:TextBox ID="dsCash" runat="server" />
<asp:CompareValidator ID="cv1" ControlToValidate="dsCash" runat="server" ErrorMessage="Amount must be Numeric" Operator="DataTypeCheck" Type="Double" />
</td></tr>
<tr align="left"><td>
<asp:Label I ...
Go to the complete details ...