Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RequiredFieldValidator
Message
From
30/05/2007 13:40:43
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
RequiredFieldValidator
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01229393
Message ID:
01229393
Views:
50
I have a webform with some text boxes and a save and cancel buttons. I am using the RequiredFieldValidator to ensure that the text boxes have values in them before the Save can be pressed.

This works great, however, if the user clicks the cancel button to go back to the main menu, the RequiredFieldValidators display the validation messages and the webform stays on this page.

How can I ignore the RequiredFieldValidators if the cancel button was pressed?

Thanks,

Jerry
Next
Reply
Map
View

Click here to load this message in the networking platform