RE: two forms on one page (one needs validation, the other just a ***

From: itgMan (abuatwan_at_gmail.com)
Date: 11/04/04


Date: Thu, 4 Nov 2004 04:56:02 -0800

there is an attribute for your login button named "CausesValidation"
just set its value to false.

bye and have fun with .net

"James" wrote:

>
> 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