Server-side validation in ASP.NET 2.0

Posted by Zerotoinfinite on Stack Overflow See other posts from Stack Overflow or by Zerotoinfinite
Published on 2010-06-01T11:32:44Z Indexed on 2010/06/01 11:43 UTC
Read the original article Hit count: 169

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about regex