My question is similar to those posed by gd082 on 4/22, but I still need a bit more info.
Here's my scenario: The main page of my WebForms app contains a frameset with three dynamically-loaded frames -- one for a page header, one that points to a WebForm with a TreeView control, and one that will display contents. When the user clicks on a tree node, I'd like use that event to load the appropriate page into the third frame. It seems that I need to somehow send a message from the page with the TreeView control to the page containing the frameset, so that the frameset page can decide which page to load in the third frame.
Problem is, how? I'm stumped! I know (from the answers to gd082's post) that I might be able to incorporate Javascript to do this, but I'd really like to stick with VB.NET code if possible. However, I can't seem to find anything in VB that relates to to Javascript's "parent.frame[].location" syntax.
Thanks!
Mark
Here's my scenario: The main page of my WebForms app contains a frameset with three dynamically-loaded frames -- one for a page header, one that points to a WebForm with a TreeView control, and one that will display contents. When the user clicks on a tree node, I'd like use that event to load the appropriate page into the third frame. It seems that I need to somehow send a message from the page with the TreeView control to the page containing the frameset, so that the frameset page can decide which page to load in the third frame.
Problem is, how? I'm stumped! I know (from the answers to gd082's post) that I might be able to incorporate Javascript to do this, but I'd really like to stick with VB.NET code if possible. However, I can't seem to find anything in VB that relates to to Javascript's "parent.frame[].location" syntax.
Thanks!
Mark