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,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top