By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,152 Members | 1,647 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,152 IT Pros & Developers. It's quick & easy.

Framesets - Event in frame 'A' triggering update of frame 'B' -How ?

P: n/a
JAW
I have posted this in a couple of the other newsgropus but have not recieved any responses. Thought I would try it here.
I have a frameset that contains frames (top and bottom). In the bottopm frame I have a datagrid, with a command button
on the first column of the grid. When I click on the button for the appropiate row of data, I retreive information from
the row of the datagrid and place this information into session variables for the other frame to retrieve. No problem so
far. What I want to do is then trigger a update (repost ?) of the data in frame 'B', but I can not figure out how I tell
the server to update this frame. I do not want to update frame 'A'. So far this is all written in VB.NET, with the asp
files (the two frames) having no code/script in them, just basic HTML information.

Thanks in advance for any suggestions.

Jerry
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You tell the server to update the frame in the same way you tell the server
to update the current page: you make a Request. In this case, to update
another frame in the frameset, you would probably use javascript:

window.parent.frameName.document.location = "URL";

- or -

window.parent.frames[index].document.location = "URL";

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"JAW" <yo*****@noserver.com> wrote in message
news:k7********************@fe2.columbus.rr.com...
I have posted this in a couple of the other newsgropus but have not recieved any responses. Thought I would try it here.

I have a frameset that contains frames (top and bottom). In the bottopm frame I have a datagrid, with a command button on the first column of the grid. When I click on the button for the appropiate row of data, I retreive information from the row of the datagrid and place this information into session variables for the other frame to retrieve. No problem so far. What I want to do is then trigger a update (repost ?) of the data in frame 'B', but I can not figure out how I tell the server to update this frame. I do not want to update frame 'A'. So far this is all written in VB.NET, with the asp files (the two frames) having no code/script in them, just basic HTML information.
Thanks in advance for any suggestions.

Jerry

Nov 18 '05 #2

P: n/a
JAW


Kevin Spencer wrote:
You tell the server to update the frame in the same way you tell the server
to update the current page: you make a Request. In this case, to update
another frame in the frameset, you would probably use javascript:

window.parent.frameName.document.location = "URL";

- or -

window.parent.frames[index].document.location = "URL";


Thanks Kevin. Now My question is how to simulate this in VB.NET ?
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.