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 the behavior of a Web browser when it receives an invalid element?

630


What are the three parts of an http response?

534


Difference between application events and session events

595


How does asp page work?

550


What is preprocessor in .net and type, where it use?

662






What is datagrid asp.net?

499


What is the difference between session and application?

507


Explain asp.net web forms.

566


Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

540


Distinguish between Server-side and Client-side code?

554


What are the versions of garbage collection?

1460


What is considered a service provider?

521


Explain the asp.net mvc request life cycle? : asp.net mvc

506


What is the difference between rest and restful?

538


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

601