need validator in asp.net that only accept letters in the alphabet

Wigging
Wigging used Ask the Experts™
on
how can i accomplish this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
<asp:TextBox ID="txtTestValue" runat="server"  />
     
<asp:regularexpressionvalidator id="regValAlphaOnly"   runat="server"
            errormessage="Only Alpha Characters" ControlToValidate="txtTestValue"
            ValidationExpression="[a-zA-Z]+"  />

CPG
thanks for the points.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial