473,396 Members | 1,770 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Targeting a frame on page load

I have been struggling with this and would be really grateful if anyone
could help.

I have a page with 2 frames. I would like to use the page load event on the
left hand page to use a variable to change the page in the right frame.

On the left page it would look something like:

Private Sub Page_Load etc
dim NewHtmlPage as string
NewHtmlPage = whatever.html
Pageright.href = NewHtmlPage
End Sub

Does anyone have any ideas how I could go about this.
Thanks for any input
Frances
Nov 18 '05 #1
1 1182
Each frame points at a different web page (aspx page). As far as the server
knows, the web requests made by each frame are completely independent of each
other. Because of this, you can not communicate on the sever between the
frames directly.

Your best bet is to store the values you need to relay in session variables,
or use Javascript on both pages inside the frames to communicate on the
client.

"Frances Valdes" wrote:
I have been struggling with this and would be really grateful if anyone
could help.

I have a page with 2 frames. I would like to use the page load event on the
left hand page to use a variable to change the page in the right frame.

On the left page it would look something like:

Private Sub Page_Load etc
dim NewHtmlPage as string
NewHtmlPage = whatever.html
Pageright.href = NewHtmlPage
End Sub

Does anyone have any ideas how I could go about this.
Thanks for any input
Frances

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: vk | last post by:
I have a situation where I have 3 frames. The first frame is dynamic and contains javascript variables for use throughout the frameset page and the other frames. Everything works fine...except...
3
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a...
2
by: torext | last post by:
I have 3 frame (not frame set) and I want to forse frame1 (where I define language for user) to be load first, before any other frames. And if possible reload main page. How should I do it from...
6
by: Richard Maher | last post by:
Hi, Now that I am aware that JS on a page in Frame A can directly call a function on a page in Frame B, I no longer have to continue with my frameB.location.reload() fudge in order to get some...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.