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
Explain the code Access Security (CAS) in .net Framework?
What is windows active directory authentication?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
What are the session variables?
What are Authentication and Authorization?
Describe the difference between inline and code behind - which is best in?
What is a web api?
Explain server control extensibility with reference to asp.net 2.0 ?
Can we use MSSql as backend in asp.net...if yes then How.?
What is the good practice to implement validations in aspx page?
Can you set which type of comparison you want to perform by the comparevalidator control?
What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?
What is class and object in asp.net?
What is a 404 redirect?
WSDL means?