473,326 Members | 2,090 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,326 software developers and data experts.

Help Please - Frameset question

If have a page with a frameset set up as below:

There are 3 rows of pages displayed.

I need the navigation to be in the middle.

When I click on one of the links in the navigations, I need to be able
to dictate a new source page for the top row AND the bottom row. How
can I do this without refreshing/reloading the middle page with my
nav?

Any help would be greatly appreciated.

-reynald
7078895

---------

Dim outputstr As String
outputstr = "<html>" _
& vbCrLf & "<head>" _
& vbCrLf & "<title>Forms from code
behind</title>" _
& vbCrLf & "</head>" _
& vbCrLf & "<frameset rows='250,70,200'
FRAMESPACING='0' FRAMEBORDER='NO' BORDER='0'>" _
& vbCrLf & "<frame name='TopFrame' src='" &
"NewsHeader.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "<frame name='Nav' src='" &
"navigation.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "<frame name='MainFrame' src='" &
"NewsBody.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "</frameset>" _
& vbCrLf & "</html>"
Response.Write(outputstr)
Nov 18 '05 #1
3 1082
This is one of the many reasons that using frames in .NET is generally a bad
idea.
Usually you're better off partitioning logical sections of your page into
web user controls.
Here's more info:
http://msdn.microsoft.com/library/de...ercontrols.asp
http://msdn.microsoft.com/library/de...ercontrols.asp
http://msdn.microsoft.com/library/de...ebControls.asp

If you must stick with frames then you'll need to use client side javascript
to accomplish your goal.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"SpamProof" <sp***********@yahoo.com> wrote in message
news:8c**************************@posting.google.c om...
If have a page with a frameset set up as below:

There are 3 rows of pages displayed.

I need the navigation to be in the middle.

When I click on one of the links in the navigations, I need to be able
to dictate a new source page for the top row AND the bottom row. How
can I do this without refreshing/reloading the middle page with my
nav?

Any help would be greatly appreciated.

-reynald
7078895

---------

Dim outputstr As String
outputstr = "<html>" _
& vbCrLf & "<head>" _
& vbCrLf & "<title>Forms from code
behind</title>" _
& vbCrLf & "</head>" _
& vbCrLf & "<frameset rows='250,70,200'
FRAMESPACING='0' FRAMEBORDER='NO' BORDER='0'>" _
& vbCrLf & "<frame name='TopFrame' src='" &
"NewsHeader.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "<frame name='Nav' src='" &
"navigation.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "<frame name='MainFrame' src='" &
"NewsBody.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "</frameset>" _
& vbCrLf & "</html>"
Response.Write(outputstr)

Nov 18 '05 #2
if you dont want to cause a refresh of the middle one... try using Hyperlink
and use target="framename"

that will cause it to load the link without causing postback... (hyperlink
is translated as normal a href and does not have a postback)

should sort you out...

--
Regards,

HD

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl...
This is one of the many reasons that using frames in .NET is generally a bad idea.
Usually you're better off partitioning logical sections of your page into
web user controls.
Here's more info:
http://msdn.microsoft.com/library/de...ercontrols.asp http://msdn.microsoft.com/library/de...ercontrols.asp http://msdn.microsoft.com/library/de...ebControls.asp
If you must stick with frames then you'll need to use client side javascript to accomplish your goal.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"SpamProof" <sp***********@yahoo.com> wrote in message
news:8c**************************@posting.google.c om...
If have a page with a frameset set up as below:

There are 3 rows of pages displayed.

I need the navigation to be in the middle.

When I click on one of the links in the navigations, I need to be able
to dictate a new source page for the top row AND the bottom row. How
can I do this without refreshing/reloading the middle page with my
nav?

Any help would be greatly appreciated.

-reynald
7078895

---------

Dim outputstr As String
outputstr = "<html>" _
& vbCrLf & "<head>" _
& vbCrLf & "<title>Forms from code
behind</title>" _
& vbCrLf & "</head>" _
& vbCrLf & "<frameset rows='250,70,200'
FRAMESPACING='0' FRAMEBORDER='NO' BORDER='0'>" _
& vbCrLf & "<frame name='TopFrame' src='" &
"NewsHeader.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "<frame name='Nav' src='" &
"navigation.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "<frame name='MainFrame' src='" &
"NewsBody.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "</frameset>" _
& vbCrLf & "</html>"
Response.Write(outputstr)


Nov 18 '05 #3
Sounds good. But for my purposes, how can I control which user control
(at the top and bottom page) is dispayed FROM the navbar links (middle
page)?. I'd like to do this without passing values through the url?

I didn't see an example of this in the docs.

-reynald

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message news:<uE**************@TK2MSFTNGP09.phx.gbl>...
This is one of the many reasons that using frames in .NET is generally a bad
idea.
Usually you're better off partitioning logical sections of your page into
web user controls.
Here's more info:
http://msdn.microsoft.com/library/de...ercontrols.asp
http://msdn.microsoft.com/library/de...ercontrols.asp
http://msdn.microsoft.com/library/de...ebControls.asp

If you must stick with frames then you'll need to use client side javascript
to accomplish your goal.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"SpamProof" <sp***********@yahoo.com> wrote in message
news:8c**************************@posting.google.c om...
If have a page with a frameset set up as below:

There are 3 rows of pages displayed.

I need the navigation to be in the middle.

When I click on one of the links in the navigations, I need to be able
to dictate a new source page for the top row AND the bottom row. How
can I do this without refreshing/reloading the middle page with my
nav?

Any help would be greatly appreciated.

-reynald
7078895

---------

Dim outputstr As String
outputstr = "<html>" _
& vbCrLf & "<head>" _
& vbCrLf & "<title>Forms from code
behind</title>" _
& vbCrLf & "</head>" _
& vbCrLf & "<frameset rows='250,70,200'
FRAMESPACING='0' FRAMEBORDER='NO' BORDER='0'>" _
& vbCrLf & "<frame name='TopFrame' src='" &
"NewsHeader.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "<frame name='Nav' src='" &
"navigation.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "<frame name='MainFrame' src='" &
"NewsBody.aspx" & "' FRAMEBORDER='0' BORDER='0' MARGINWIDTH='0'
MARGINHEIGHT='0' SCROLLING='yes'>" _
& vbCrLf & "</frameset>" _
& vbCrLf & "</html>"
Response.Write(outputstr)

Nov 18 '05 #4

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

Similar topics

2
by: BoodieMan | last post by:
The second example doesnt show any borders between frames, but isn't complaiant with the WC3. The top one is compliant but shows the borders. I'd like to get the complaint one to not show any...
6
by: mike | last post by:
Hello, After trying to validate this page for a couple of days now I was wondering if someone might be able to help me out. Below is a list of snippets where I am having the errors. 1. Line 334,...
14
by: TrvlOrm | last post by:
OK. After much playing around, I managed to get my frame page this far.. see code below. BUT...there are still errors with it, and what I would like to have happened is this: 1) On the Left...
3
by: Dai Ba Wong | last post by:
Hi: Currently I am having a problem with my webpage. My page consist of two frames, one consist of input text field and the other contains link for different pop-up windows. The problem...
2
by: JPL Verhey | last post by:
(i hope somebody (else) will read and have an idea! Thnx) Hi, With a script in a popup window, I want to check if certain content is present in a page loaded into the frame "main" of the...
7
by: mike | last post by:
Hello, After reading all the past post and going to the faq on frameset tags I am still don't understand how this works and need some help on getting this validated if possible. Here is the error...
3
by: vivek9856 | last post by:
I am making a website and I need help promptly. Here is the code first off -----File Header.htm----- <HTML> <HEAD> <TITLE>Black Hawk Down</TITLE> </HEAD> <LINK REL=stylesheet...
2
by: Steve K | last post by:
I got a bit of a problem I like some help on. I'm designing an online training module for people that work in food processing plants. This is my target audience. These workers have little or no...
15
by: Giggle Girl | last post by:
Hello there, :) I need a frameset that will have the same look and behavior in Firefox 1.5+ as it does in IE 6+. Here is a URL for it: http://66.51.164.93/fs/default.htm In IE, the "seam"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.