M
M B HONG 20
Hi all -
I am developing an ASP.NET (C#) web application. I need a form to save
all information upon a user clicking the "X" close button (top right
corner). After some research I have come to the conclusion that a C#
function cannot be called from the client javascript. I have also come
to the conclusion that a C# function cannot be tied to the event of a
client closing a window with the "X". My options are either to catch
this as an event in the code-behind, or just disabling the "X"
altogether. Any help on this would be greatly appreciated, thanks in
advance.
I am developing an ASP.NET (C#) web application. I need a form to save
all information upon a user clicking the "X" close button (top right
corner). After some research I have come to the conclusion that a C#
function cannot be called from the client javascript. I have also come
to the conclusion that a C# function cannot be tied to the event of a
client closing a window with the "X". My options are either to catch
this as an event in the code-behind, or just disabling the "X"
altogether. Any help on this would be greatly appreciated, thanks in
advance.