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
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
What is the purpose of App_Code folder in ASP.NET? Why we this?
What is preprocessor in .net? Where it use?
Why do I get error message "could not load type" whenever I browse to my asp.net web site?
What's the difference between viewstate and sessionstate?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?
What are the main advantages of using asp.net?
Explain about asp.net state management?
Describe the events in the life cycle of a web application.
What are custom controls?
How do you design a website with multilingual support in ASP.NET ?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
How can I open ashx file in mobile?
What is the difference between CC and BCC?
What is asp.net file?