ASP.NET logout button

  • Thread starter Melinda Mienie via DotNetMonster.com
  • 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
 
E

Exception

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

- - -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top