i have a text box that should only accept alphabets...
i know we hav 2 use RegularExpressionValidator but i dunno the format to write the code in..
plz help me out..
thanx in advance..

Recommended Answers

All 2 Replies

You can use it by java script fuction who check key ascii value of alpahbets. and then call it to text box script code, remember this is called inside keyup or keydown event of textbox.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.