How to refresh the parent window after closing the child [popup] window

Posted by Prabu_Spark under ASP.NET on 6/14/2013 | Points: 10 | Views : 2705 | Status : [Member] | Replies : 3
Hi sir,
Tell me the steps to refresh the parent window after closing the child [popup] window.

In parent window , i have a gridview which display all the user details. If i click the view button, it will
display the corresponding record in popup window.

In Child window, i have a details view in which the user can edit the individual details depending on
selection in gridview. After finish updating the records in detailsview, i have to close the popup and
the updated values should be update in the parent window.


Kindly give me the solution for this problem.

With regards,
J.Prabu.
[Email:prbspark@gmail.com]



Responses

Posted by: vinaykannegundla-20815 on: 6/15/2013 [Member] Starter | Points: 25

Up
0
Down
ParentWindow.Refresh();


Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raj.Trivedi on: 6/15/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello you do

this way

youwindowname.refresh

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 6/17/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
You can use the below link :-

http://stackoverflow.com/questions/15425463/javascript-reload-parent-window-if-child-window-was-closed

Hope this will help you.

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response