Good day
I'm stuck with the question, simple at first glance
Which event raises when we close ASP.NET popup window by clicking "x" in the top right corner?
Thanks in advance.
Good day
I'm stuck with the question, simple at first glance
Which event raises when we close ASP.NET popup window by clicking "x" in the top right corner?
Thanks in advance.
If you mean WinForms event, it would be Form_Closing followed by Form_Closed. In Asp.Net there's no event that can be caught on the server directly, since this is a client side event. However, you CAN, in client side script, catch this event (onUnload or onbeforeunload) and trigger a postback to the server if you need to.