Justin,
A lot of people use webcontrols to hold the content, such as a
header and footer, and then plop them onto pages as they need. Another
approach is very similar, except then instead of just loading the header and
footer into each and every page, you create a new base page class that
inherits from System.Web.Ui.Page that overrides the render event and loads
these controls for you automatically (inserting header at the beginning and
after the normal page rendering is done it loads and adds the footer
control). You can essentially make it as complicated or simple as you want
with these methods. Using your own header and footer controls is a good
place to start though as it does a very similar job to the SSI includes.
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
Justin said:
Currently I have a site template using classic asp that uses include files
to seperate content from display. How can I do something similar in
ASP.NET/C# code behind. Mainly I need to seperate navgation header, side bar
and content.