Hi John,
You try the Application_Error method in global.asax. Anyway, I think a
Validator control may be better in this situation. You can choose valid
user input on client side, so that we don't need to return to server; or
you can use Custome Validator to perform the validate on server side and
display proper message to customer. For more information for ASP.NET
validator control, you may refer to:
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwebuiwebcontrolsregularexpressionvalida torclasstopic.asp
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemWebUIWebControlsCustomValidatorClassTop ic.asp
Hope this help,
Luke
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)