When I log out of a page once, there should be no postback afterward in asp.net wbeofrm.
Loading
When I log out of a page once, there should be no postback afterward in asp.net wbeofrm.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tahir AnsariPosted Apr 15, 2024, 6:59 PM
When you log out of an ASP.NET page, the page that fired the postback is reloaded, and the LoggingOut and LoggedOut events are fired.
You can use the IsPostBack property to check if this is the first time the page is being processed. You can also use the IsCallback and IsCrossPagePostBack properties at this time.
You can disable postbacks on Enter by setting UseSubmitBehavior="False" on your Buttons.