How to refresh one frame from another?

E

Eric

I have a page with two frames, one on the left and on on the right. Certain
actions taken in the right side pane need to cause a refresh or a re-
Databinding of the left pane but I'm not sure how to programatically trigger
such an action.

I checked the Page.Parent in the debugger but have not been able to locate
the proper path to the object I need to invoke the DataBind() call on. Can
anyone help?

Thanks.
 
G

Gabriel Magaña

Here's my cheap method to do this... It's javascript and it's rather cheap,
but it works for me:

Response.Write(
"<script language=javascript>top.frames['DetailFrame'].location =
top.frames['DetailFrame'].location;</script>"
);
 

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

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top