DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   Refresh Parent Browser (http://www.daniweb.com/forums/thread67814.html)

mikefitz Jan 19th, 2007 2:56 pm
Refresh Parent Browser
 
Hi,
I am opening a Child Browser(pop-up) from a Parent Browser using the Window.Open() javascript. After closing the pop-up Browser using Window.Close(), I need to refresh a DataGrid control on the calling Parent Browser. Any idea how to do this?

Basically I am Inserting records into a SQL table prior to closing the pop-up Browser, and need to refresh a DataGrid control on the Parent Browser.

Any assistance or direction would be appreciated. I am using VB.NET.


Thanks,
Mike

sedgey Jan 20th, 2007 12:07 am
Re: Refresh Parent Browser
 
well just before you close the child in your javascript you could do something like window.opener.location redirecting the page to itself and hence refreshing it.


All times are GMT -4. The time now is 10:50 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC