G
Guest
Hi,
I have a Website which allows users to input data. After they finished entering data they can click a button to save their input. Problem now is, that I have no possibility to visualize that the page is being saved and when it is (hopefully) done saving.
I thought about a modal window being opened using JavaScript when they click the save button telling them that the data is being saved. After saving is completed I could use “Page.RegisterClientScriptBlock†to execute a client script closing the modal window. One problem though I could imagine is how to identify the modal window when I want to close it (using “Page.RegisterClientScriptBlockâ€) and what to do if the users close this window using “Xâ€. Is there any way in JavaScript to be able to test whether the window is still available?
Does anybody know some “best practices†on how to handle this situation? Thank you!
Daniel
I have a Website which allows users to input data. After they finished entering data they can click a button to save their input. Problem now is, that I have no possibility to visualize that the page is being saved and when it is (hopefully) done saving.
I thought about a modal window being opened using JavaScript when they click the save button telling them that the data is being saved. After saving is completed I could use “Page.RegisterClientScriptBlock†to execute a client script closing the modal window. One problem though I could imagine is how to identify the modal window when I want to close it (using “Page.RegisterClientScriptBlockâ€) and what to do if the users close this window using “Xâ€. Is there any way in JavaScript to be able to test whether the window is still available?
Does anybody know some “best practices†on how to handle this situation? Thank you!
Daniel