Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code behind
Message
 
To
03/04/2003 16:26:57
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00773790
Message ID:
00774124
Views:
15
If you are going to load HTML as a header, or you want a header, footer etc. You might consider sub-classing the Page Class and creating a template page. That way all of your pages can use the same header, footer, side-navigation etc, and you won't have to worry about updating a ton of pages if your graphics or header changes.

Frames work well, but with templated pages you don't have to worry about maintaining the different frame pages, and if it is a public site the search engines won't have problems indexing it.


Jonathan Goodyear has a good templating solution, along with Paul Wilson's as well. With some pretty minor tweaks, I was able to modify Goodyear's to use for our sites Web applications.

Here is the forum where Templating is discussed:

http://www.webmatrixproject.net/Forums/ShowPost.aspx?tabindex=1&PostID=4692

I can't seem to find a link to the code for all of the Templating code, but you can probably email Goodyear his website is
http://www.angrycoder.com

It may be too robust of solution for you. But it is just an idea.

Morgan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform