Basic, hopefully, question about using Framesets with ASP.NET.

  • Thread starter Thread starter Leo Violette
  • Start date Start date
L

Leo Violette

I'm using VS 2005 SP1 to create an ASP.NET Web Application.

I'm wanting to create a web-site with a company logo/information "frame" on
top, a navigation "frame" on the left and a details "frame" on the right.

I was hoping to not duplicate the company logo and navigation on every page,
but if that is the recommended method, say so and I'll do it.


I was thinking about using frameset's for this. I'm a little concerned
about compatibility of framesets with aspx/cs pages.

Question 1: Will frames make working with aspx/cs pages difficult? For
example, will events not fire into my .cs file like I'm used to, or anything
like that?

Question 2: If using framesets are frowned upon for ASP.NET web
development, what alternatives do you recommend?
1. Some other framework that allows you to break up the page into three
separate pages that I don't know about?
2. Just duplicate the company info and navigation page on every page in my
site?
3. Can CSS be used for this, I'm a novice with CSS, so I wouldn't really
know where to start to break up my page in 3 sections.

Thanks for your help.

Leo.
 
I'm using VS 2005 SP1 to create an ASP.NET Web Application.

I'm wanting to create a web-site with a company logo/information "frame" on
top, a navigation "frame" on the left and a details "frame" on the right.

I was hoping to not duplicate the company logo and navigation on every page,
but if that is the recommended method, say so and I'll do it.

I was thinking about using frameset's for this.  I'm a little concerned
about compatibility of framesets with aspx/cs pages.

Question 1:  Will frames make working with aspx/cs pages difficult?  For
example, will events not fire into my .cs file like I'm used to, or anything
like that?

Question 2:  If using framesets are frowned upon for ASP.NET web
development, what alternatives do you recommend?
1.  Some other framework that allows you to break up the page into three
separate pages that I don't know about?
2.  Just duplicate the company info and navigation page on every page in my
site?
3.  Can CSS be used for this, I'm a novice with CSS, so I wouldn't really
know where to start to break up my page in 3 sections.

Thanks for your help.

Leo.

Hi Leo,

frames are useful when you want to scroll a part of a page while still
keeping another area visible. If this is not the case, take a look at
the MasterPages

ASP.NET Master Pages Overview
http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx

Hope this helps
 
That is EXACTLY what I needed! I'm such a newbie. Thank you very much!

I'm using VS 2005 SP1 to create an ASP.NET Web Application.

I'm wanting to create a web-site with a company logo/information "frame"
on
top, a navigation "frame" on the left and a details "frame" on the right.

I was hoping to not duplicate the company logo and navigation on every
page,
but if that is the recommended method, say so and I'll do it.

I was thinking about using frameset's for this. I'm a little concerned
about compatibility of framesets with aspx/cs pages.

Question 1: Will frames make working with aspx/cs pages difficult? For
example, will events not fire into my .cs file like I'm used to, or
anything
like that?

Question 2: If using framesets are frowned upon for ASP.NET web
development, what alternatives do you recommend?
1. Some other framework that allows you to break up the page into three
separate pages that I don't know about?
2. Just duplicate the company info and navigation page on every page in my
site?
3. Can CSS be used for this, I'm a novice with CSS, so I wouldn't really
know where to start to break up my page in 3 sections.

Thanks for your help.

Leo.

Hi Leo,

frames are useful when you want to scroll a part of a page while still
keeping another area visible. If this is not the case, take a look at
the MasterPages

ASP.NET Master Pages Overview
http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx

Hope this helps
 
Back
Top