By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,361 Members | 1,683 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,361 IT Pros & Developers. It's quick & easy.

What to use instead of frames?

P: n/a
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
Share this Question
Share on Google+
8 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.