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
What are the namespaces used in asp.net mvc? : asp.net mvc
Why mvc is faster than asp.net? : Asp.Net MVC
How will you do Redo and Undo in a TextControl?
How to disable disable browser's Back button in asp.net (JavaScript)?
What is the difference between page.registerclientscriptblock and page.registerstartupscript?
How can we make sure that Web API returns JSON data only?
Explain about Application and Session Events ?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
What does occur first in ASP.Net, Authentication or Authorization?
How do you secure your connection string information?
Can I tap into other windows livetm services?
How do you declare static variable? What is its lifetime?
What is session in web technology?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
Explain the difference between inline and code behind - which is best in?