Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Net Validation

Status
Not open for further replies.

gashcud

Programmer
Sep 25, 2002
13
0
0
AT
I have a webform that holds several TextBox Controls, RequiredFieldValidators and a button. When I click the button the form is validated and if it is invalid a message box pops up.

My question however: is there a way to execute code, after the button click event but before the message box pops up, as I try to hide controls after the button is clicked even if the input is invalid and the message box pops up

Hope u see what I mean
thk
Gashcud
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top