New To ASP.Net - Templating - Good Methods?

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
 
G

Guest

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
 
T

Tarun Mistry

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

Thanks,
Taz
 

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

Top