What is the difference between User Controls and Master Pages

Answer Posted / vidit tyagi

user control
1)it extension is .ascx.
2)it can be more than one on single web page.
3)it doesn't contain Contentplaceholder.
4)it doesn't work like a fixed template.it can be
display in diffrent manner in diffrent page.
MasterPage:
1) it extension is .Master.
2)it used like a template.
3)it contain ContentPlaceHolder

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between asp state management and asp.net state management?

570


Do cookies store passwords?

503


What are the advantages of using session?

432


Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

513


How ViewstateMac works?

2361






What is asp net_sessionid?

637


What is the difference between Hash table and Array list?

369


How does exception management works in ASP.NET?

617


Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?

561


What is http post and http get?

538


Explain the difference between Repeater and Data list control in ASP.NET?

612


Can any body provide me the sample web application in asp.net

1435


Differentiate between client-side and server-side validations in web pages.

559


What are the three parts of an http response?

529


What do you mean by caching in asp.net?

548