ASP.NET logout button

  • Thread starter Thread starter Melinda Mienie via DotNetMonster.com
  • Start date Start date
M

Melinda Mienie via DotNetMonster.com

Hi

I am quite new to .NET and ran into this problem (or which I think is a problem). I have a logout button. As soon as a person clicks on this logout button and the page contains forms, it does validation on the form's fields instead of logging the person out.

Can someone please tell me what the problem is and how to fix it? Your help would be appreciated.

Ultramel
 
Melinda Mienie via DotNetMonster.com said:
I am quite new to .NET and ran into this problem (or which I think
is a problem). I have a logout button. As soon as a person clicks
on this logout button and the page contains forms, it does validation
on the form's fields instead of logging the person out.

btnLogoff.CausesValidation = false;

Steven

- - -
 
Back
Top