Page templating question

  • Thread starter Thread starter Showjumper
  • Start date Start date
S

Showjumper

I understand i can create a base page class and then all my pages can
inherit from that class file. But then how would one define variable content
regions for the different pages? Each page would have the same header and
footer and menu but the page content would vary. How does one deal with
this?
 
So i would dynamically load the right user control that contains content
based on the page requested?
 
Yes you can do it that way, or you can make the static portions of your page
into one or more user controls and include that on every page.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
 

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