Hi need help to solve refresh problem
I have a main webpage with a button. Once the button is clicked, a popup dialog (web form) is prompted. Once user click 'OK' in this dailog, data saving is performed and I need to close and refresh the main webpage.
How do I close and refresh the main webpage?
Currently I close this window by using
Registerstartupscript("close", "<script>window.close()</script>") in the button ok click event in code behind.
This does close the popup window but how can I refresh the main webpage?

Try either




before you close the popup window.

Thank you very much.
The code works when the pop up returns a value.