Regular Expression for Enter only Charecter in textbox in Asp.net using C#

Posted by Unknown On Tuesday, 19 March 2013 0 comments

<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Enter valid description" ControlToValidate="TextBox1" ValidationExpression="[a-zA-Z ]+" ValidationGroup="val1"></asp:RegularExpressionValidator> 

0 comments:

Post a Comment