Server-side validation in ASP.NET 2.0
- by Zerotoinfinite
Hi All,
My application is in ASP.NET 2.0 with C#. I have a regular expression validator with the regular expression ^[0-9]*(\\,)?[0-9]?[0-9]?$, now my client don't want this validation at client side but on button click i.e. Server Side.
EX: I have to check the value of txtPrice textbox
Please let me know how can I put this regular expression validation on server side.
Thanks in advance.