|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Frames and .Net
Originally posted by : Robert (rogomadrid@hotmail.com)You have one html page with 2 frames: Left and Right. In each frame you load one aspx. (menu.aspx in Left and Tran.aspx in Right)How can you load from the server VB script of aspx page in Left frame other aspx in Right frame in similar way as in javascript: top.Right.location.href= "T1001.aspx"; ?(Note: It is possible from the hyperlink included in Treeview web control, just setting Target="Right", but I do not find the way to do it directly from one Visual basic script.)
|
|
#2
|
|||
|
|||
|
Originally posted by : .net (net @yahoo.com)------------Robert at 2/8/2002 2:28:51 AMYou have one html page with 2 frames: Left and Right. In each frame you load one aspx. (menu.aspx in Left and Tran.aspx in Right)How can you load from the server VB script of aspx page in Left frame other aspx in Right frame in similar way as in javascript: top.Right.location.href= "T1001.aspx"; ?(Note: It is possible from the hyperlink included in Treeview web control, just setting Target="Right", but I do not find the way to do it directly from one Visual basic script.)
|
|
#3
|
|||
|
|||
|
Originally posted by : Tweety (Tweety@tweety.com)Try the following:window.parent.frames(i).location="Tran.aspx"Where 'i' is the index in the frame collection. If you have two frames then it should be 2.------------.net at 2/8/2002 11:09:25 AM------------Robert at 2/8/2002 2:28:51 AMYou have one html page with 2 frames: Left and Right. In each frame you load one aspx. (menu.aspx in Left and Tran.aspx in Right)How can you load from the server VB script of aspx page in Left frame other aspx in Right frame in similar way as in javascript: top.Right.location.href= "T1001.aspx"; ?(Note: It is possible from the hyperlink included in Treeview web control, just setting Target="Right", but I do not find the way to do it directly from one Visual basic script.)
|
|
#4
|
|||
|
|||
|
Originally posted by : Doug Hagerman (DougH@Usbs-Panels.com)I attempted to use the below codewindow.parent.frames(i).location="Tran.aspx"but I get a message window is not defined?Do you have to Dim w as window or something?Thanks,Doug------------Tweety at 2/8/2002 6:01:51 PMTry the following:window.parent.frames(i).location="Tran.aspx"Where 'i' is the index in the frame collection. If you have two frames then it should be 2.------------.net at 2/8/2002 11:09:25 AM------------Robert at 2/8/2002 2:28:51 AMYou have one html page with 2 frames: Left and Right. In each frame you load one aspx. (menu.aspx in Left and Tran.aspx in Right)How can you load from the server VB script of aspx page in Left frame other aspx in Right frame in similar way as in javascript: top.Right.location.href= "T1001.aspx"; ?(Note: It is possible from the hyperlink included in Treeview web control, just setting Target="Right", but I do not find the way to do it directly from one Visual basic script.)
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Frames and .Net |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|