I want to remove a temp file from the server after the user close the page (I assumed I don't have this callback on the server by default),
I tried to call a server side method using (ICallbackEventHandler
implementation) when the user close the page, but the problem is that the server side method doesn't fire in this case (closing the page), it only response if the page still opened. and I don't prefer to stop closing the page until the server response and send its call back to close the page manually.
In case I must stop closing the page, kindly help me with the best way.
Thanks in advance