Posted on: 6/13/2013 7:40:46 AM | Views : 396

Here one Important Thing Is That this TextBox inside Update Panel. .. .. If I am giving wrong value..Eror msg its showing.. But its accepting Wrong value...  Like In Database I have declare Commision decimal(10,5) and when I am sending value from front end its creating problem... bcoz this textBox accepting All character and more lenght every thing... Help.. Its urgent
<asp:RegularExpressionValidator ID="revCommision" runat="server" ErrorMessage="Numeric value" ControlToValidate="txtCommision" ValidationExpression="^([0-9]{1,5})?(\.[0-9]{1,5})?$" ValidationGroup="btnSaveValidGroup"></asp:RegularExpressionValidator>
...

Go to the complete details ...