New To ASP.Net - Templating - Good Methods?

  • Thread starter Thread starter Tarun Mistry
  • Start date Start date
T

Tarun Mistry

Hi all, im new to ASP.NET, migrating from PHP, I hope some nice folks can
help me out here.

With PHP im very used to creating a template system so i can start
designing/coding early and alter a single template which is then refershed
through the entire site (a good example being a menu).

Im totally lost in ASP.NET (2.0) right now, is this possible? What should I
be looking towards.

Thanks for any help and input.

Kind Regards
Tarun
 
Hi Tarun,

1. create usercontrol and put menu in it. Then put usercontrol in individual
pages. When you need change menu, you only need change it in the usercontrol.

2. use Master page: create menu (and other common staff) in the Master page,
then create Contend pages and refer MasterPageFile. Any menu changes only
need to be done in one place, master page.

HTH

Elton Wang
 
Many thanks, the custom user controls look like exactly what i needed!

Thanks,
Taz
 
Back
Top