my web application has a main window. on clicking a link on main window it opens another window where user can make changes and this changes are required to be saved when user closes the window.
the window closes immediately and a request is sent to save the data.
now before the data is saved to DB if user clicks on same link he sees old data on the popup window.
(if user waits for some time before clicking on link again, this allows data to be saved and he can see latest data in that window)
how can I solve this problem?
I don't want to keep popup window open till the data is saved.
Joined: Apr 16, 2008
User should not be attempting to click immediately on edit link after they just saved some new data.
If user sees old data in pop up window after an immediate click, then they should deal with it.
Depending upon how long it takes to update data in database, you can add a message that states that
it will take a few moments to update/save data.
You can also solve issue by removing the usage of pop-up windows.
Joined: Jul 22, 2010
Thank you Jimmy. thats gives me enough ideas to ponder upon.