Uniformal look for all pages

  • Thread starter Thread starter Sasha
  • Start date Start date
S

Sasha

Hi,

What is the best way to enforce uniformal look on all of my aspx web pages?
I know it is done through Master pages in ASP.NET 2.0, but what can I do in
ASP.NET 1.1? Should I creat just one base page and just inherit all of my
pages from it?

Thank you for your help,
Sasha
 
Joerg Jooss said:
There are actually quite a few Page Template "patterns" published for
ASP.NET. Check out site like www.asp.net or www.apsalliance.com for more
information on this topic.

Could you be a little more specific, please? Even at those places the only
references I found where to Paul Wilson's work.

Thanks
Brian W
 
http://authors.aspalliance.com/PaulWilson/Articles/?id=1 contains some
useful info, having said that I've found usercontrols more hassle than
they're worth. IMHO its better to use webcontrols if possible - they're more
work to code but a lot more flexible + you can see them at design time. I
build whole common page sections into webcontrols making the aspx pages very
small.

Also, rather than have my pages inherit from System.Web.UI.Page, I have an
intermediary 'BasePage' class and inherit my pages from that. Experiments
with inheriting actual aspx pages really screwed the designer as any
designer components in the base page get added AGAIN into the inherited page
:o( If you add controls dynamically (which again is less hassle) then its
fine and saves a lot of duplicate coding!

As for actual page layouts, cascading style sheets (CSS) are the way to go.

HTH

Simon
 
Back
Top