two forms on one page (one needs validation, the other just a butt

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Ok, maybe this is a basic question so please bear with a newbie to .net

One asp.net (VB) page has a form with various textboxes that need
validating. There is a submit button that processes this form.

On the same page, there is a 'log out' button that calls a function to log
the user out.

The problem is that when you click on log out on this page, it tries to
validate the form. How can I stop this?

Any advice would help,
Thanks
 
there is an attribute for your login button named "CausesValidation"
just set its value to false.

bye and have fun with .net
 
Back
Top