SolutionCottage.com
Posted  13 May 2009 - 11:21:48

Category: ASP.net


Don't allow letters using a RegularExpressionValidator

Issue:
You want to prevent input type letters (a-z and A-Z).

Solution:
This is the validation expression:

ValidationExpression="[^A-Za-z]*"



Marked as helpful by 1 user




0 comments:








© SolutionCottage 2008-2011 7/21/2017 3:37:03 AM