467,905 Members | 1,863 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,905 developers. It's quick & easy.

Frames in ASP.NET

Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and another
on the right side.
I don't know how to do it. So please help me with it.

I'll appreciate any help/example you can provide.
I am using visual studio 2005.

Thanks, Mark
Jun 30 '08 #1
  • viewed: 6711
Share:
14 Replies
Hi Mark,

There is nothing to do with ASP.NET if you want to put frames, you can
define frames using smple HTML.
Check how to create frames here : http://www.w3schools.com/HTML/html_frames.asp
/Anoj
[www.TheTechHub.com]

On Jun 30, 6:35*pm, "Mark" <M...@nospaml.comwrote:
Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and another
on the right side.
I don't know how to do it. So please help me with it.

I'll appreciate any help/example you can provide.
I am using visual studio 2005.

Thanks, Mark
Jun 30 '08 #2
Frames are HTML and if you can't write HTML yet you are not ready for
ASP.NET. Furthermore, the use of Frames is generally considered the best way
to create a web site that is not user friendly nor search engine friendly.

IMO Frames are only useful for very limited tasks such as a Frameset using a
Frame as a fixed header with a scrolling Frame of columnar data below it.
Otherwise? Framesets are ca-ca

As a neophyte though if you explain what you think you need to achieve I or
others may have better suggestions
"Mark" <Ma**@nospaml.comwrote in message
news:uG*************@TK2MSFTNGP06.phx.gbl...
Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and another
on the right side.
I don't know how to do it. So please help me with it.

I'll appreciate any help/example you can provide.
I am using visual studio 2005.

Thanks, Mark
Jun 30 '08 #3
Thanks for the reply.
I have a HTML page with frames, but I cannot open it in Dotnet development
environment(Visual Studio). It says "element Frameset is not supported".

If frames are not good then I am ready to remove it.
As a junior developer please suggest me how to do it?
I have one menu page with few hyperlinks. On click I want to show a new page
on another frame without reloading the menu page.
Let me know if it is possible or any other way to do it.

Please help this junior developer.
Thanks, Mark.
"Junior" <so******@somewhere.comwrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl...
Frames are HTML and if you can't write HTML yet you are not ready for
ASP.NET. Furthermore, the use of Frames is generally considered the best
way to create a web site that is not user friendly nor search engine
friendly.

IMO Frames are only useful for very limited tasks such as a Frameset using
a Frame as a fixed header with a scrolling Frame of columnar data below
it. Otherwise? Framesets are ca-ca

As a neophyte though if you explain what you think you need to achieve I
or others may have better suggestions
"Mark" <Ma**@nospaml.comwrote in message
news:uG*************@TK2MSFTNGP06.phx.gbl...
>Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and
another on the right side.
I don't know how to do it. So please help me with it.

I'll appreciate any help/example you can provide.
I am using visual studio 2005.

Thanks, Mark

Jun 30 '08 #4
You don't need to put the menu into a frame. Instead, show a new page in a
iframe control.Alternatively you can look into Ajax-based solutions, depends
on your task.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Mark" <Ma**@nospaml.comwrote in message
news:uo*************@TK2MSFTNGP06.phx.gbl...
Thanks for the reply.
I have a HTML page with frames, but I cannot open it in Dotnet development
environment(Visual Studio). It says "element Frameset is not supported".

If frames are not good then I am ready to remove it.
As a junior developer please suggest me how to do it?
I have one menu page with few hyperlinks. On click I want to show a new
page on another frame without reloading the menu page.
Let me know if it is possible or any other way to do it.

Please help this junior developer.
Thanks, Mark.
"Junior" <so******@somewhere.comwrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl...
>Frames are HTML and if you can't write HTML yet you are not ready for
ASP.NET. Furthermore, the use of Frames is generally considered the best
way to create a web site that is not user friendly nor search engine
friendly.

IMO Frames are only useful for very limited tasks such as a Frameset
using a Frame as a fixed header with a scrolling Frame of columnar data
below it. Otherwise? Framesets are ca-ca

As a neophyte though if you explain what you think you need to achieve I
or others may have better suggestions
"Mark" <Ma**@nospaml.comwrote in message
news:uG*************@TK2MSFTNGP06.phx.gbl...
>>Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and
another on the right side.
I don't know how to do it. So please help me with it.

I'll appreciate any help/example you can provide.
I am using visual studio 2005.

Thanks, Mark


Jun 30 '08 #5
I avoid iFrames like the plague for the same reason as Framesets. I agree
AJAX will support what is wanted by refreshing a portion og the page without
a noticeable PostBack but I also think looking at MasterPages should be
considered. I would avoid AJAX though or use very very sparingly as AJAX can
drag down performance if not used sparingly. Like iFrames and Framesets not
everything that has been created has proven to be usefull in --all--
circumstances and tends to get overused. Personally, I think trying to beat
the stateless model of the web is a no-win compromise for the same reasons.

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:OK**************@TK2MSFTNGP03.phx.gbl...
You don't need to put the menu into a frame. Instead, show a new page in a
iframe control.Alternatively you can look into Ajax-based solutions,
depends on your task.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Mark" <Ma**@nospaml.comwrote in message
news:uo*************@TK2MSFTNGP06.phx.gbl...
>Thanks for the reply.
I have a HTML page with frames, but I cannot open it in Dotnet
development environment(Visual Studio). It says "element Frameset is not
supported".

If frames are not good then I am ready to remove it.
As a junior developer please suggest me how to do it?
I have one menu page with few hyperlinks. On click I want to show a new
page on another frame without reloading the menu page.
Let me know if it is possible or any other way to do it.

Please help this junior developer.
Thanks, Mark.
"Junior" <so******@somewhere.comwrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl...
>>Frames are HTML and if you can't write HTML yet you are not ready for
ASP.NET. Furthermore, the use of Frames is generally considered the best
way to create a web site that is not user friendly nor search engine
friendly.

IMO Frames are only useful for very limited tasks such as a Frameset
using a Frame as a fixed header with a scrolling Frame of columnar data
below it. Otherwise? Framesets are ca-ca

As a neophyte though if you explain what you think you need to achieve I
or others may have better suggestions
"Mark" <Ma**@nospaml.comwrote in message
news:uG*************@TK2MSFTNGP06.phx.gbl...
Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and
another on the right side.
I don't know how to do it. So please help me with it.

I'll appreciate any help/example you can provide.
I am using visual studio 2005.

Thanks, Mark



Jun 30 '08 #6
Framesets are not supported in XHTML 1.0, which is what VS 2005/08 validate
against.

Generally, people tend to use CSS and DHTML to simulate what frames used to
provide.

-Scott

"Junior" <so******@somewhere.comwrote in message
news:el**************@TK2MSFTNGP05.phx.gbl...
>I avoid iFrames like the plague for the same reason as Framesets. I agree
AJAX will support what is wanted by refreshing a portion og the page
without a noticeable PostBack but I also think looking at MasterPages
should be considered. I would avoid AJAX though or use very very sparingly
as AJAX can drag down performance if not used sparingly. Like iFrames and
Framesets not everything that has been created has proven to be usefull
in --all-- circumstances and tends to get overused. Personally, I think
trying to beat the stateless model of the web is a no-win compromise for
the same reasons.

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:OK**************@TK2MSFTNGP03.phx.gbl...
>You don't need to put the menu into a frame. Instead, show a new page in
a iframe control.Alternatively you can look into Ajax-based solutions,
depends on your task.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Mark" <Ma**@nospaml.comwrote in message
news:uo*************@TK2MSFTNGP06.phx.gbl...
>>Thanks for the reply.
I have a HTML page with frames, but I cannot open it in Dotnet
development environment(Visual Studio). It says "element Frameset is not
supported".

If frames are not good then I am ready to remove it.
As a junior developer please suggest me how to do it?
I have one menu page with few hyperlinks. On click I want to show a new
page on another frame without reloading the menu page.
Let me know if it is possible or any other way to do it.

Please help this junior developer.
Thanks, Mark.
"Junior" <so******@somewhere.comwrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl...
Frames are HTML and if you can't write HTML yet you are not ready for
ASP.NET. Furthermore, the use of Frames is generally considered the
best way to create a web site that is not user friendly nor search
engine friendly.

IMO Frames are only useful for very limited tasks such as a Frameset
using a Frame as a fixed header with a scrolling Frame of columnar data
below it. Otherwise? Framesets are ca-ca

As a neophyte though if you explain what you think you need to achieve
I or others may have better suggestions
"Mark" <Ma**@nospaml.comwrote in message
news:uG*************@TK2MSFTNGP06.phx.gbl...
Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and
another on the right side.
I don't know how to do it. So please help me with it.
>
I'll appreciate any help/example you can provide.
I am using visual studio 2005.
>
Thanks, Mark
>


Jun 30 '08 #7
ere:
!Framesets are not supported in XHTML 1.0, which is what VS 2005/08 validate against.
!people tend to use CSS and DHTML to simulate what frames used to provide.

What happens if you use the XHTML 1.0 Frameset dtd :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

???


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Scott M." <s-***@nospam.nospamwrote in message news:eb**************@TK2MSFTNGP05.phx.gbl...
Framesets are not supported in XHTML 1.0, which is what VS 2005/08 validate against.

Generally, people tend to use CSS and DHTML to simulate what frames used to provide.

-Scott

"Junior" <so******@somewhere.comwrote in message news:el**************@TK2MSFTNGP05.phx.gbl...
>>I avoid iFrames like the plague for the same reason as Framesets. I agree AJAX will support what is wanted by
refreshing a portion og the page without a noticeable PostBack but I also think looking at MasterPages should be
considered. I would avoid AJAX though or use very very sparingly as AJAX can drag down performance if not used
sparingly. Like iFrames and Framesets not everything that has been created has proven to be usefull in --all--
circumstances and tends to get overused. Personally, I think trying to beat the stateless model of the web is a no-win
compromise for the same reasons.

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in message
news:OK**************@TK2MSFTNGP03.phx.gbl...
>>You don't need to put the menu into a frame. Instead, show a new page in a iframe control.Alternatively you can look
into Ajax-based solutions, depends on your task.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Mark" <Ma**@nospaml.comwrote in message news:uo*************@TK2MSFTNGP06.phx.gbl...
Thanks for the reply.
I have a HTML page with frames, but I cannot open it in Dotnet development environment(Visual Studio). It says
"element Frameset is not supported".

If frames are not good then I am ready to remove it.
As a junior developer please suggest me how to do it?
I have one menu page with few hyperlinks. On click I want to show a new page on another frame without reloading the
menu page.
Let me know if it is possible or any other way to do it.

Please help this junior developer.
Thanks, Mark.
"Junior" <so******@somewhere.comwrote in message news:uo**************@TK2MSFTNGP05.phx.gbl...
Frames are HTML and if you can't write HTML yet you are not ready for ASP.NET. Furthermore, the use of Frames is
generally considered the best way to create a web site that is not user friendly nor search engine friendly.
>
IMO Frames are only useful for very limited tasks such as a Frameset using a Frame as a fixed header with a
scrolling Frame of columnar data below it. Otherwise? Framesets are ca-ca
>
As a neophyte though if you explain what you think you need to achieve I or others may have better suggestions
>
>
"Mark" <Ma**@nospaml.comwrote in message news:uG*************@TK2MSFTNGP06.phx.gbl...
>Hi Guys,
>I am very new to ASP.NET world.
>I need to create three frames. One at the top, one on the left and another on the right side.
>I don't know how to do it. So please help me with it.
>>
>I'll appreciate any help/example you can provide.
>I am using visual studio 2005.
>>
>Thanks, Mark
>>
>



Jun 30 '08 #8
You get stuck in a quagmire since it doesn't support the necessary
attributes on the various tags to make the frames actually work properly.
Not to mention that VS doesn't validate XHTML 1.0 Frameset.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uf**************@TK2MSFTNGP06.phx.gbl...
ere:
!Framesets are not supported in XHTML 1.0, which is what VS 2005/08
validate against.
!people tend to use CSS and DHTML to simulate what frames used to
provide.

What happens if you use the XHTML 1.0 Frameset dtd :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

???


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Scott M." <s-***@nospam.nospamwrote in message
news:eb**************@TK2MSFTNGP05.phx.gbl...
>Framesets are not supported in XHTML 1.0, which is what VS 2005/08
validate against.

Generally, people tend to use CSS and DHTML to simulate what frames used
to provide.

-Scott

"Junior" <so******@somewhere.comwrote in message
news:el**************@TK2MSFTNGP05.phx.gbl...
>>>I avoid iFrames like the plague for the same reason as Framesets. I agree
AJAX will support what is wanted by refreshing a portion og the page
without a noticeable PostBack but I also think looking at MasterPages
should be considered. I would avoid AJAX though or use very very
sparingly as AJAX can drag down performance if not used sparingly. Like
iFrames and Framesets not everything that has been created has proven to
be usefull in --all-- circumstances and tends to get overused.
Personally, I think trying to beat the stateless model of the web is a
no-win compromise for the same reasons.

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:OK**************@TK2MSFTNGP03.phx.gbl...
You don't need to put the menu into a frame. Instead, show a new page
in a iframe control.Alternatively you can look into Ajax-based
solutions, depends on your task.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Mark" <Ma**@nospaml.comwrote in message
news:uo*************@TK2MSFTNGP06.phx.gbl...
Thanks for the reply.
I have a HTML page with frames, but I cannot open it in Dotnet
development environment(Visual Studio). It says "element Frameset is
not supported".
>
If frames are not good then I am ready to remove it.
As a junior developer please suggest me how to do it?
I have one menu page with few hyperlinks. On click I want to show a
new page on another frame without reloading the menu page.
Let me know if it is possible or any other way to do it.
>
Please help this junior developer.
Thanks, Mark.
>
>
"Junior" <so******@somewhere.comwrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl.. .
>Frames are HTML and if you can't write HTML yet you are not ready for
>ASP.NET. Furthermore, the use of Frames is generally considered the
>best way to create a web site that is not user friendly nor search
>engine friendly.
>>
>IMO Frames are only useful for very limited tasks such as a Frameset
>using a Frame as a fixed header with a scrolling Frame of columnar
>data below it. Otherwise? Framesets are ca-ca
>>
>As a neophyte though if you explain what you think you need to
>achieve I or others may have better suggestions
>>
>>
>"Mark" <Ma**@nospaml.comwrote in message
>news:uG*************@TK2MSFTNGP06.phx.gbl.. .
>>Hi Guys,
>>I am very new to ASP.NET world.
>>I need to create three frames. One at the top, one on the left and
>>another on the right side.
>>I don't know how to do it. So please help me with it.
>>>
>>I'll appreciate any help/example you can provide.
>>I am using visual studio 2005.
>>>
>>Thanks, Mark
>>>
>>
>
>



Jun 30 '08 #9
re:
!>What happens if you use the XHTML 1.0 Frameset dtd :
!You get stuck in a quagmire since it doesn't support the necessary
!attributes on the various tags to make the frames actually work properly.

Gee, I wonder why this frameset and its frames work properly :

http://asp.net.do/test/frameset/default.aspx

???

re:
!Not to mention that VS doesn't validate XHTML 1.0 Frameset.

VS 2008 validated the sample frameset I'm using as an example.
Look at the source for the default page...

It uses :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

The moral of this story is : test, test and test,
if you are going to state that something doesn't work.

In this case, it does work.

The source for the test's files is attached as frameset.zip, so anybody can verify that :

1. The frameset does work properly
2. VS 2008 validates XHTML 1.0 Frameset

Thank you.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Scott M." <s-***@nospam.nospamwrote in message news:eZ**************@TK2MSFTNGP05.phx.gbl...
You get stuck in a quagmire since it doesn't support the necessary attributes on the various tags to make the frames
actually work properly. Not to mention that VS doesn't validate XHTML 1.0 Frameset.
"Juan T. Llibre" <no***********@nowhere.comwrote in message news:uf**************@TK2MSFTNGP06.phx.gbl...
>ere:
!Framesets are not supported in XHTML 1.0, which is what VS 2005/08 validate against.
!people tend to use CSS and DHTML to simulate what frames used to provide.

What happens if you use the XHTML 1.0 Frameset dtd :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

???


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Scott M." <s-***@nospam.nospamwrote in message news:eb**************@TK2MSFTNGP05.phx.gbl...
>>Framesets are not supported in XHTML 1.0, which is what VS 2005/08 validate against.

Generally, people tend to use CSS and DHTML to simulate what frames used to provide.

-Scott

"Junior" <so******@somewhere.comwrote in message news:el**************@TK2MSFTNGP05.phx.gbl...
I avoid iFrames like the plague for the same reason as Framesets. I agree AJAX will support what is wanted by
refreshing a portion og the page without a noticeable PostBack but I also think looking at MasterPages should be
considered. I would avoid AJAX though or use very very sparingly as AJAX can drag down performance if not used
sparingly. Like iFrames and Framesets not everything that has been created has proven to be usefull in --all--
circumstances and tends to get overused. Personally, I think trying to beat the stateless model of the web is a
no-win compromise for the same reasons.

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in message
news:OK**************@TK2MSFTNGP03.phx.gbl...
You don't need to put the menu into a frame. Instead, show a new page in a iframe control.Alternatively you can
look into Ajax-based solutions, depends on your task.
>
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
>
>
"Mark" <Ma**@nospaml.comwrote in message news:uo*************@TK2MSFTNGP06.phx.gbl...
>Thanks for the reply.
>I have a HTML page with frames, but I cannot open it in Dotnet development environment(Visual Studio). It says
>"element Frameset is not supported".
>>
>If frames are not good then I am ready to remove it.
>As a junior developer please suggest me how to do it?
>I have one menu page with few hyperlinks. On click I want to show a new page on another frame without reloading
>the menu page.
>Let me know if it is possible or any other way to do it.
>>
>Please help this junior developer.
>Thanks, Mark.
>>
>>
>"Junior" <so******@somewhere.comwrote in message news:uo**************@TK2MSFTNGP05.phx.gbl...
>>Frames are HTML and if you can't write HTML yet you are not ready for ASP.NET. Furthermore, the use of Frames is
>>generally considered the best way to create a web site that is not user friendly nor search engine friendly.
>>>
>>IMO Frames are only useful for very limited tasks such as a Frameset using a Frame as a fixed header with a
>>scrolling Frame of columnar data below it. Otherwise? Framesets are ca-ca
>>>
>>As a neophyte though if you explain what you think you need to achieve I or others may have better suggestions
>>>
>>>
>>"Mark" <Ma**@nospaml.comwrote in message news:uG*************@TK2MSFTNGP06.phx.gbl...
>>>Hi Guys,
>>>I am very new to ASP.NET world.
>>>I need to create three frames. One at the top, one on the left and another on the right side.
>>>I don't know how to do it. So please help me with it.
>>>>
>>>I'll appreciate any help/example you can provide.
>>>I am using visual studio 2005.
>>>>
>>>Thanks, Mark
>>>>
>>>
>>
>>
>
>




Jul 1 '08 #10
>I avoid iFrames like the plague for the same reason as Framesets.
Don't know much about framesets, but iframes still have their place. I would
not hesitate using them if they fit into the design.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Junior" <so******@somewhere.comwrote in message
news:el**************@TK2MSFTNGP05.phx.gbl...
>I avoid iFrames like the plague for the same reason as Framesets. I agree
AJAX will support what is wanted by refreshing a portion og the page
without a noticeable PostBack but I also think looking at MasterPages
should be considered. I would avoid AJAX though or use very very sparingly
as AJAX can drag down performance if not used sparingly. Like iFrames and
Framesets not everything that has been created has proven to be usefull
in --all-- circumstances and tends to get overused. Personally, I think
trying to beat the stateless model of the web is a no-win compromise for
the same reasons.

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:OK**************@TK2MSFTNGP03.phx.gbl...
>You don't need to put the menu into a frame. Instead, show a new page in
a iframe control.Alternatively you can look into Ajax-based solutions,
depends on your task.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Mark" <Ma**@nospaml.comwrote in message
news:uo*************@TK2MSFTNGP06.phx.gbl...
>>Thanks for the reply.
I have a HTML page with frames, but I cannot open it in Dotnet
development environment(Visual Studio). It says "element Frameset is not
supported".

If frames are not good then I am ready to remove it.
As a junior developer please suggest me how to do it?
I have one menu page with few hyperlinks. On click I want to show a new
page on another frame without reloading the menu page.
Let me know if it is possible or any other way to do it.

Please help this junior developer.
Thanks, Mark.
"Junior" <so******@somewhere.comwrote in message
news:uo**************@TK2MSFTNGP05.phx.gbl...
Frames are HTML and if you can't write HTML yet you are not ready for
ASP.NET. Furthermore, the use of Frames is generally considered the
best way to create a web site that is not user friendly nor search
engine friendly.

IMO Frames are only useful for very limited tasks such as a Frameset
using a Frame as a fixed header with a scrolling Frame of columnar data
below it. Otherwise? Framesets are ca-ca

As a neophyte though if you explain what you think you need to achieve
I or others may have better suggestions
"Mark" <Ma**@nospaml.comwrote in message
news:uG*************@TK2MSFTNGP06.phx.gbl...
Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and
another on the right side.
I don't know how to do it. So please help me with it.
>
I'll appreciate any help/example you can provide.
I am using visual studio 2005.
>
Thanks, Mark
>


Jul 1 '08 #11
On Jun 30, 11:03*am, "Mark" <M...@nospaml.comwrote:
Thanks for the reply.
I have a HTML page with frames, but I cannot open it in Dotnet development
environment(Visual Studio). It says "element Frameset is not supported".

If frames are not good then I am ready to remove it.
As a junior developer please suggest me how to do it?
I have one menu page with few hyperlinks. On click I want to show a new page
on another frame without reloading the menu page.
Let me know if it is possible or any other way to do it.

Please help this junior developer.
Thanks, Mark.

"Junior" <someb...@somewhere.comwrote in message

news:uo**************@TK2MSFTNGP05.phx.gbl...
Frames are HTML and if you can't write HTML yet you are not ready for
ASP.NET. Furthermore, the use of Frames is generally considered the best
way to create a web site that is not user friendly nor search engine
friendly.
IMO Frames are only useful for very limited tasks such as a Frameset using
a Frame as a fixed header with a scrolling Frame of columnar data below
it. Otherwise? Framesets are ca-ca
As a neophyte though if you explain what you think you need to achieve I
or others may have better suggestions
"Mark" <M...@nospaml.comwrote in message
news:uG*************@TK2MSFTNGP06.phx.gbl...
Hi Guys,
I am very new to ASP.NET world.
I need to create three frames. One at the top, one on the left and
another on the right side.
I don't know how to do it. So please help me with it.
I'll appreciate any help/example you can provide.
I am using visual studio 2005.
Thanks, Mark
This is a great opportunity for you to use a masterpage with your
menus in it. Then create your web pages using the masterpage.

New to .Net? Here are some great tutorials to get you started:
http://www.asp.net/learn/data-access If you work through the first
20 or so of these tutorials, you'll be answering questions here.
Steve T.
Jul 1 '08 #12
Nobody has established why validation even matters when the browsers are so
loosey goosey anyway.
Same goes for the CSS vs Tables argument. So what?

So many websites are FUBAR and the framework generates tables when using the
controls that come from Microsoft making --most-- of the concern an exercise
in futility does it not? Where to draw the line?
"Scott M." <s-***@nospam.nospamwrote in message
news:eZ**************@TK2MSFTNGP05.phx.gbl...
You get stuck in a quagmire since it doesn't support the necessary
attributes on the various tags to make the frames actually work properly.
Not to mention that VS doesn't validate XHTML 1.0 Frameset.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uf**************@TK2MSFTNGP06.phx.gbl...
>ere:
!Framesets are not supported in XHTML 1.0, which is what VS 2005/08
validate against.
!people tend to use CSS and DHTML to simulate what frames used to
provide.

What happens if you use the XHTML 1.0 Frameset dtd :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

???


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Scott M." <s-***@nospam.nospamwrote in message
news:eb**************@TK2MSFTNGP05.phx.gbl...
>>Framesets are not supported in XHTML 1.0, which is what VS 2005/08
validate against.

Generally, people tend to use CSS and DHTML to simulate what frames used
to provide.

-Scott

"Junior" <so******@somewhere.comwrote in message
news:el**************@TK2MSFTNGP05.phx.gbl...
I avoid iFrames like the plague for the same reason as Framesets. I
agree AJAX will support what is wanted by refreshing a portion og the
page without a noticeable PostBack but I also think looking at
MasterPages should be considered. I would avoid AJAX though or use very
very sparingly as AJAX can drag down performance if not used sparingly.
Like iFrames and Framesets not everything that has been created has
proven to be usefull in --all-- circumstances and tends to get
overused. Personally, I think trying to beat the stateless model of the
web is a no-win compromise for the same reasons.

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:OK**************@TK2MSFTNGP03.phx.gbl...
You don't need to put the menu into a frame. Instead, show a new page
in a iframe control.Alternatively you can look into Ajax-based
solutions, depends on your task.
>
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
>
>
"Mark" <Ma**@nospaml.comwrote in message
news:uo*************@TK2MSFTNGP06.phx.gbl...
>Thanks for the reply.
>I have a HTML page with frames, but I cannot open it in Dotnet
>development environment(Visual Studio). It says "element Frameset is
>not supported".
>>
>If frames are not good then I am ready to remove it.
>As a junior developer please suggest me how to do it?
>I have one menu page with few hyperlinks. On click I want to show a
>new page on another frame without reloading the menu page.
>Let me know if it is possible or any other way to do it.
>>
>Please help this junior developer.
>Thanks, Mark.
>>
>>
>"Junior" <so******@somewhere.comwrote in message
>news:uo**************@TK2MSFTNGP05.phx.gbl. ..
>>Frames are HTML and if you can't write HTML yet you are not ready
>>for ASP.NET. Furthermore, the use of Frames is generally considered
>>the best way to create a web site that is not user friendly nor
>>search engine friendly.
>>>
>>IMO Frames are only useful for very limited tasks such as a Frameset
>>using a Frame as a fixed header with a scrolling Frame of columnar
>>data below it. Otherwise? Framesets are ca-ca
>>>
>>As a neophyte though if you explain what you think you need to
>>achieve I or others may have better suggestions
>>>
>>>
>>"Mark" <Ma**@nospaml.comwrote in message
>>news:uG*************@TK2MSFTNGP06.phx.gbl. ..
>>>Hi Guys,
>>>I am very new to ASP.NET world.
>>>I need to create three frames. One at the top, one on the left and
>>>another on the right side.
>>>I don't know how to do it. So please help me with it.
>>>>
>>>I'll appreciate any help/example you can provide.
>>>I am using visual studio 2005.
>>>>
>>>Thanks, Mark
>>>>
>>>
>>
>>
>
>


Jul 2 '08 #13
"Junior" <so******@somewhere.comwrote in message
news:uq**************@TK2MSFTNGP05.phx.gbl...
Nobody has established why validation even matters when the browsers are
so loosey goosey anyway.
I'm not sure that this statement is in any way true. While today's browsers
may not perform validation, much of the content that is delivered to them is
dynamically generated and for that to work reliably, you need statndards.
Same goes for the CSS vs Tables argument. So what?
Because Framesets represent a different situation than tables vs. CSS.
Tables are still fully supported by the W3C, framesets are not.
>
So many websites are FUBAR and the framework generates tables when using
the controls that come from Microsoft making --most-- of the concern an
exercise in futility does it not? Where to draw the line?
I would argue that unless and until we get good standards, those sites will
continue to be FUBAR and standards are the only way to resolve that.
>

"Scott M." <s-***@nospam.nospamwrote in message
news:eZ**************@TK2MSFTNGP05.phx.gbl...
>You get stuck in a quagmire since it doesn't support the necessary
attributes on the various tags to make the frames actually work properly.
Not to mention that VS doesn't validate XHTML 1.0 Frameset.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uf**************@TK2MSFTNGP06.phx.gbl...
>>ere:
!Framesets are not supported in XHTML 1.0, which is what VS 2005/08
validate against.
!people tend to use CSS and DHTML to simulate what frames used to
provide.

What happens if you use the XHTML 1.0 Frameset dtd :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

???


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Scott M." <s-***@nospam.nospamwrote in message
news:eb**************@TK2MSFTNGP05.phx.gbl...
Framesets are not supported in XHTML 1.0, which is what VS 2005/08
validate against.

Generally, people tend to use CSS and DHTML to simulate what frames
used to provide.

-Scott

"Junior" <so******@somewhere.comwrote in message
news:el**************@TK2MSFTNGP05.phx.gbl...
>I avoid iFrames like the plague for the same reason as Framesets. I
>agree AJAX will support what is wanted by refreshing a portion og the
>page without a noticeable PostBack but I also think looking at
>MasterPages should be considered. I would avoid AJAX though or use very
>very sparingly as AJAX can drag down performance if not used sparingly.
>Like iFrames and Framesets not everything that has been created has
>proven to be usefull in --all-- circumstances and tends to get
>overused. Personally, I think trying to beat the stateless model of the
>web is a no-win compromise for the same reasons.
>
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:OK**************@TK2MSFTNGP03.phx.gbl...
>You don't need to put the menu into a frame. Instead, show a new page
>in a iframe control.Alternatively you can look into Ajax-based
>solutions, depends on your task.
>>
>--
>Eliyahu Goldin,
>Software Developer
>Microsoft MVP [ASP.NET]
>http://msmvps.com/blogs/egoldin
>http://usableasp.net
>>
>>
>"Mark" <Ma**@nospaml.comwrote in message
>news:uo*************@TK2MSFTNGP06.phx.gbl.. .
>>Thanks for the reply.
>>I have a HTML page with frames, but I cannot open it in Dotnet
>>development environment(Visual Studio). It says "element Frameset is
>>not supported".
>>>
>>If frames are not good then I am ready to remove it.
>>As a junior developer please suggest me how to do it?
>>I have one menu page with few hyperlinks. On click I want to show a
>>new page on another frame without reloading the menu page.
>>Let me know if it is possible or any other way to do it.
>>>
>>Please help this junior developer.
>>Thanks, Mark.
>>>
>>>
>>"Junior" <so******@somewhere.comwrote in message
>>news:uo**************@TK2MSFTNGP05.phx.gbl.. .
>>>Frames are HTML and if you can't write HTML yet you are not ready
>>>for ASP.NET. Furthermore, the use of Frames is generally considered
>>>the best way to create a web site that is not user friendly nor
>>>search engine friendly.
>>>>
>>>IMO Frames are only useful for very limited tasks such as a
>>>Frameset using a Frame as a fixed header with a scrolling Frame of
>>>columnar data below it. Otherwise? Framesets are ca-ca
>>>>
>>>As a neophyte though if you explain what you think you need to
>>>achieve I or others may have better suggestions
>>>>
>>>>
>>>"Mark" <Ma**@nospaml.comwrote in message
>>>news:uG*************@TK2MSFTNGP06.phx.gbl.. .
>>>>Hi Guys,
>>>>I am very new to ASP.NET world.
>>>>I need to create three frames. One at the top, one on the left and
>>>>another on the right side.
>>>>I don't know how to do it. So please help me with it.
>>>>>
>>>>I'll appreciate any help/example you can provide.
>>>>I am using visual studio 2005.
>>>>>
>>>>Thanks, Mark
>>>>>
>>>>
>>>
>>>
>>
>>
>



Jul 3 '08 #14

"Junior" <so******@somewhere.comwrote in message
news:uq**************@TK2MSFTNGP05.phx.gbl...
Nobody has established why validation even matters when the browsers are
so loosey goosey anyway.
Same goes for the CSS vs Tables argument. So what?
Not at all. CSS vs Frames is about laying out text in a symantec way... so
search engines and screen readers can make sense of them.

Marc
Jul 3 '08 #15

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by les | last post: by
40 posts views Thread by JohnnyCJohnny | last post: by
95 posts views Thread by Neal | last post: by
25 posts views Thread by Steal | last post: by
5 posts views Thread by Dfenestr8 | last post: by
7 posts views Thread by dj Bass | last post: by
3 posts views Thread by Nish | last post: by
56 posts views Thread by Deepan HTML | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.