Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am using 4 required field validators,4 regular expression validators and 4 compare validators for 4 text boxes.Is it possible to show error messages

in an alert or message box when validation fails?

If possible please send code sample.

Regards,

NSJ
Posted

Use <a href="http://www.google.com/search?q=using+validations">ValidationSummary</a>[<a href="http://www.google.com/search?q=using+validations" target="_blank" title="New Window">^</a>], and set ShowMessageBox to True.
 
Share this answer
 
v2
Use a validation summary control and set ShowMessageBox property = True
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900