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.
 
Back
Top