473,387 Members | 1,904 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,387 software developers and data experts.

What to use instead of frames?

UJ
I've got a page where I want to have three frames or areas. On the left -
two rows - on the right a single area. Thing is - on the right - I need to
load a web page for preview use.

From what I've read, framesets are a bad thing. What can I do instead?

I'm using .Net 2.0

TIA - Jeff.
Jun 19 '06 #1
8 1828
Nothing wrong with frames, they can be a bit tricky to work with sometimes.
If your looking to load a whole web page, as opposed to some output into an
area you dont have much choice but to use a frame or an iframe as more than
one head/body tag in a single page etc. is very bad karma. If your only
looking to load some web content then a panel control or placeholder control
would suffice.

--
Regards

John Timney (MVP)
"UJ" <fr**@nowhere.com> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
I've got a page where I want to have three frames or areas. On the left -
two rows - on the right a single area. Thing is - on the right - I need to
load a web page for preview use.

From what I've read, framesets are a bad thing. What can I do instead?

I'm using .Net 2.0

TIA - Jeff.

Jun 19 '06 #2
Or he could use master pages. A thousand times better as a solution IMO.

--
-Demetri
"John Timney (MVP)" wrote:
Nothing wrong with frames, they can be a bit tricky to work with sometimes.
If your looking to load a whole web page, as opposed to some output into an
area you dont have much choice but to use a frame or an iframe as more than
one head/body tag in a single page etc. is very bad karma. If your only
looking to load some web content then a panel control or placeholder control
would suffice.

--
Regards

John Timney (MVP)
"UJ" <fr**@nowhere.com> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
I've got a page where I want to have three frames or areas. On the left -
two rows - on the right a single area. Thing is - on the right - I need to
load a web page for preview use.

From what I've read, framesets are a bad thing. What can I do instead?

I'm using .Net 2.0

TIA - Jeff.


Jun 19 '06 #3
Master pages are certainly useful for consitent layout, anda great addition
to asp2 - but it wont help UJ display a whole web page within an existing
web page that does not contain a frame.

--
Regards

John Timney (MVP)
"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
Or he could use master pages. A thousand times better as a solution IMO.

--
-Demetri
"John Timney (MVP)" wrote:
Nothing wrong with frames, they can be a bit tricky to work with
sometimes.
If your looking to load a whole web page, as opposed to some output into
an
area you dont have much choice but to use a frame or an iframe as more
than
one head/body tag in a single page etc. is very bad karma. If your only
looking to load some web content then a panel control or placeholder
control
would suffice.

--
Regards

John Timney (MVP)
"UJ" <fr**@nowhere.com> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
> I've got a page where I want to have three frames or areas. On the
> left -
> two rows - on the right a single area. Thing is - on the right - I need
> to
> load a web page for preview use.
>
> From what I've read, framesets are a bad thing. What can I do instead?
>
> I'm using .Net 2.0
>
> TIA - Jeff.
>
>


Jun 19 '06 #4
UJ
I actually did it with a table and the right side contains an iframe.

Seems to work OK.

Thanks - Jeff.

"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
Or he could use master pages. A thousand times better as a solution IMO.

--
-Demetri
"John Timney (MVP)" wrote:
Nothing wrong with frames, they can be a bit tricky to work with
sometimes.
If your looking to load a whole web page, as opposed to some output into
an
area you dont have much choice but to use a frame or an iframe as more
than
one head/body tag in a single page etc. is very bad karma. If your only
looking to load some web content then a panel control or placeholder
control
would suffice.

--
Regards

John Timney (MVP)
"UJ" <fr**@nowhere.com> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
> I've got a page where I want to have three frames or areas. On the
> left -
> two rows - on the right a single area. Thing is - on the right - I need
> to
> load a web page for preview use.
>
> From what I've read, framesets are a bad thing. What can I do instead?
>
> I'm using .Net 2.0
>
> TIA - Jeff.
>
>


Jun 19 '06 #5
UJ
If I were to use frames, how could I in code behind get at the different
frames? Are they available to me on the page or don't they actually exist?

"John Timney (MVP)" <x_****@timney.eclipse.co.uk> wrote in message
news:DM********************@eclipse.net.uk...
Nothing wrong with frames, they can be a bit tricky to work with
sometimes. If your looking to load a whole web page, as opposed to some
output into an area you dont have much choice but to use a frame or an
iframe as more than one head/body tag in a single page etc. is very bad
karma. If your only looking to load some web content then a panel control
or placeholder control would suffice.

--
Regards

John Timney (MVP)
"UJ" <fr**@nowhere.com> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
I've got a page where I want to have three frames or areas. On the left -
two rows - on the right a single area. Thing is - on the right - I need
to load a web page for preview use.

From what I've read, framesets are a bad thing. What can I do instead?

I'm using .Net 2.0

TIA - Jeff.


Jun 19 '06 #6
You can only talk across frames client side, so look at javascript and
output the javascript you require to do your inter frame comms from your
code behind.

--
Regards

John Timney (MVP)

"UJ" <fr**@nowhere.com> wrote in message
news:u7**************@TK2MSFTNGP02.phx.gbl...
If I were to use frames, how could I in code behind get at the different
frames? Are they available to me on the page or don't they actually exist?

"John Timney (MVP)" <x_****@timney.eclipse.co.uk> wrote in message
news:DM********************@eclipse.net.uk...
Nothing wrong with frames, they can be a bit tricky to work with
sometimes. If your looking to load a whole web page, as opposed to some
output into an area you dont have much choice but to use a frame or an
iframe as more than one head/body tag in a single page etc. is very bad
karma. If your only looking to load some web content then a panel control
or placeholder control would suffice.

--
Regards

John Timney (MVP)
"UJ" <fr**@nowhere.com> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
I've got a page where I want to have three frames or areas. On the
left - two rows - on the right a single area. Thing is - on the right -
I need to load a web page for preview use.

From what I've read, framesets are a bad thing. What can I do instead?

I'm using .Net 2.0

TIA - Jeff.



Jun 19 '06 #7
Why not use a UserControl on a MasterPage and if you need to access parts of
the UserControl expose them through properties and from Content pages you can
reference the MasterPage and UserControl.

See the following for examples:

http://msdn2.microsoft.com/en-us/sys...asterpage.aspx

--
-Demetri
"John Timney (MVP)" wrote:
You can only talk across frames client side, so look at javascript and
output the javascript you require to do your inter frame comms from your
code behind.

--
Regards

John Timney (MVP)

"UJ" <fr**@nowhere.com> wrote in message
news:u7**************@TK2MSFTNGP02.phx.gbl...
If I were to use frames, how could I in code behind get at the different
frames? Are they available to me on the page or don't they actually exist?

"John Timney (MVP)" <x_****@timney.eclipse.co.uk> wrote in message
news:DM********************@eclipse.net.uk...
Nothing wrong with frames, they can be a bit tricky to work with
sometimes. If your looking to load a whole web page, as opposed to some
output into an area you dont have much choice but to use a frame or an
iframe as more than one head/body tag in a single page etc. is very bad
karma. If your only looking to load some web content then a panel control
or placeholder control would suffice.

--
Regards

John Timney (MVP)
"UJ" <fr**@nowhere.com> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
I've got a page where I want to have three frames or areas. On the
left - two rows - on the right a single area. Thing is - on the right -
I need to load a web page for preview use.

From what I've read, framesets are a bad thing. What can I do instead?

I'm using .Net 2.0

TIA - Jeff.



Jun 19 '06 #8
Since you are using frames it's about to get really nasty if you need to get
at the different frames. A LOT of javascript is involved. I posted a solution
for you, a MUCH nicer and cleaner solution IMHO.

MasterPages and UserControls are your friend. ;-)

Atleast, explore what i've suggested.

--
-Demetri
"UJ" wrote:
If I were to use frames, how could I in code behind get at the different
frames? Are they available to me on the page or don't they actually exist?

"John Timney (MVP)" <x_****@timney.eclipse.co.uk> wrote in message
news:DM********************@eclipse.net.uk...
Nothing wrong with frames, they can be a bit tricky to work with
sometimes. If your looking to load a whole web page, as opposed to some
output into an area you dont have much choice but to use a frame or an
iframe as more than one head/body tag in a single page etc. is very bad
karma. If your only looking to load some web content then a panel control
or placeholder control would suffice.

--
Regards

John Timney (MVP)
"UJ" <fr**@nowhere.com> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
I've got a page where I want to have three frames or areas. On the left -
two rows - on the right a single area. Thing is - on the right - I need
to load a web page for preview use.

From what I've read, framesets are a bad thing. What can I do instead?

I'm using .Net 2.0

TIA - Jeff.



Jun 19 '06 #9

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

Similar topics

26
by: jj | last post by:
Care to enlight? Thanks!
8
by: lawrence | last post by:
Under the domain publicpen.com I've several dozen sites in subdiretories, such as www.publicpen.com/honenbeger. I've no trouble with any of these sites. But under one, which I put in yesterday,...
14
by: Frances Del Rio | last post by:
if (parent.frames.main.location == 'mediaselect.html') { I have a very simple frameset, name of frame where I'm checking is 'main'... why is this not working? I mean this is correct syntax,...
2
by: San Diego Guy | last post by:
Hi all! I'm relatively new to ASP.NET.. I'm writing an app that has some controls on the top that I want to remain there throughout the site. I started doing this in frames, but then saw a bunch...
1
by: Stephanie_Stowe | last post by:
Hi. I am an experiencecd ASP developer. I am trying to learn ASP.NET. I am writing an app which is basically to learn and for me to use personally. So this is not prime time stuff. Just the same, I...
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...
3
by: Joel | last post by:
In vb6 I used frames to hold whole screens of variables and shifted the frames around the form as needed. I do not see frames in vb.net. Does anyone know what has replaced frames?
44
by: Viken Karaguesian | last post by:
Hello all, On occasion I want to open hyperlinks (images, etc.) in a new window. In the past, I've used target="_blank" to open the link in a new window. However, using the "target" attribute...
4
by: Ty | last post by:
Hello all, I am creating a web site with Visual Stuido 2008. I am trying to use a java script file to create a busybox for login from this page http://blogs.crsw.com/mark/articles/642.aspx. I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.