What is the difference between User Controls and Master Pages

Answer Posted / jay

just a not :
this can be a tricky question depending on the interviewer.
Masterpage IS a UserControl, and you can easily check this
either by exploring classes to which websites are being
compiled or simply noting :
public class MasterPage : UserControl

semanticaly, use of classical UserControl and Masterpage is
of course different, but this already has been elaborated in
other answers

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Dynamic Web and discuss its usage with the help of real life examples?

594


Can I read the hard disk serial # of the client computer using asp.net?

554


What is datagrid asp.net?

495


What is the server of asp.net?

506


What is difference Between Authentication and authorization?

574






what is loosely coupled solution? How it can be used?

564


What is different in .net 1.1 and .net 2.0?

572


Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?

563


What are the Types of state management techniques

556


Where do the cookie state and session state information be stored?

510


14. What are your Future Plans for Swatz Oils GROUP U.K?

1721


How to display Alert in ASP.NET

639


What is http post and http get?

538


What is custom attribute?

569


What are the two Layouts supported by a Web form in ASP.NET?

548