Forum Moderators: open

Message Too Old, No Replies

Passing variables from one frame to another

frame, asp.net, javascript

         

sp1 falkevik

2:45 pm on Mar 17, 2004 (gmt 0)



I have one webapplication that is using frames. It has a frameset which contains two frames, frame left (src=left.aspx) and frame right (src=right.aspx).

In left.aspx I read an XmlDocument to build a Treestructure (Internet Explorer Web Controls), and when I select a Node I look through the XmlDocument, to find the correct XmlNode.
After this is done, I want to pass this Node over to the right.aspx file, so this file can extract the information and display it.

How can this be done?

steelegbr

5:55 pm on Mar 17, 2004 (gmt 0)

10+ Year Member



I'm not sure if this works with ASP.NET but you could use the javascript command:

parent.frame2name.location="www.example.com/right.aspx?node=..."

You would then use ASP to process the node variable Request.QueryString("node")