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

Why would anyone need to implement their own hashtable or linked list?

2441


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

586


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

579


What is the difference between page.registerclientscriptblock and page.registerstartupscript?

490


Disable Mouse right click on web page in asp.net?

586






Please briefly explain the usage of global.asax?

540


What is the latest version of asp.net?

539


What are the events in a page life cycle?

539


What is app_code folder in asp net?

543


Where do we store our connection string in asp.net application?

533


Explain about the Class view window?

596


Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?

2275


What is postback in asp net?

566


What is the sequence in which ASP.NET events are processed?

478


Which is the parent class of the web server control?

579