Static page header

  • Thread starter Thread starter MattB
  • Start date Start date
M

MattB

I've done this in other environments but on asp.net. What's the
generally accepted "right" method for putting some boilerplate code at the
top or bottom of a page, like an old-school Server Side Include? Thanks!
 
MattB said:
I've done this in other environments but on asp.net. What's the
generally accepted "right" method for putting some boilerplate code at the
top or bottom of a page, like an old-school Server Side Include? Thanks!

Quickest way is to use user controls. They are essentially the old
SSIs, with alot more bells and whistles.

A more powerful solution is page templates. ASP.NET Whidbey will have
such a mechanism, but if you search around a bit, you can find current
implementations people have demonstrated in the current ASP.NET release.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top