How to detect the browser close event in ASP.Net (C#)

Koushal Patel

Koushal Patel

@koushal-C6mEgp Oct 23, 2024
Below article describes the code to be executed when user clicks on Cross (X) button on the top right corner of the window. One demerit is, we can not rollback the changes i.e. We can not cancel the operation once we clicked the Exit button.

#-Link-Snipped-#

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform