Click here to Skip to main content
15,945,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Can anybody tell me difference between Masterpage Vs Template and User Control?


Google can give quick response to this question:
master pages vs templates[^]
master pages vs user controls[^]
Share this answer
I think you are trying to evaluate the use of masterpages or usercontrols to implement the common UI elements of page i.e. header, footer.

Both the approaches are good and the decision actually relies on the requirements. I think you may find these beginners' guides useful. you can get the understanding of how each of them works and what could be the pros and cons of using them.

Beginner's Tutorial on Master Pages in ASP.NET[^]
A Beginner's Tutorial for Understanding Templated User Controls[^]
A Beginner's Tutorial - Understanding ControlState in ASP.NET[^]

Let me know if my understanding is not correct and I will try to refine my answer.
Share this answer
Ganesh_mca 10-Jul-12 2:32am    
ok thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900