Refresh paren't window's grid when child window closes

G

Guest

On closing the child window i was able to refresh the parent window using the
following code in javascript:

opener.document.location.href=opener.document.location.href;

Is there a way to refresh just the grid in the parent window while closing
the child window?
 
N

Nicholas Paldino [.NET/C# MVP]

Prisy,

You might be able to do it, but it would be a pain, IMO. You would have
to make a request to the server to get the new information, and then update
the grid accordingly. This usually involves using the MSXML component (if
using IE) to make a request for XML from the server. ASP.NET 2.0 supports
this kind of interaction, but outside of that, you would have to code it by
hand. All in all, unless you REALLY need it, I'd avoid it (if you aren't
using ASP.NET 2.0).

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top