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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ValidationSummary Controls - how to omit for 'logout'?!

Status
Not open for further replies.

baden

Programmer
Feb 6, 2002
125
US
On A login page I have two fields - userID and pw for a user to enter, with a popup validation summary that works fine when the user doesn't enter anything into either field.

I have a linkbutton webform object for "Logout" with calls the logout() method in my code-behind class.

Problem: when clicking on the logout linkbutton, the system still checks for input validation.

How do I get around this?


Thanks.
 
Set the CausesValidation property of the link button to FALSE.

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top