What is the difference between User Controls and Master Pages

Answer Posted / nazrul

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 ?    51 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

598


Is viewstate enabled by default?

531


How to make paging concepts in datagrid in ASP.NET?

549


Describe the method to create a permanent cookie?

579


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

510






What are the features of asp.net mvc?

523


Define a web service in .net?

614


What are demand-paging and pre-paging?

575


What is the importance of Global.asax in ASP.NET?

550


Explain login controls.

615


What are query strings used for?

529


Who can consume WebAPI?

588


Write the different features of a Thread and a Process?

623


What is session start?

518


What is base class of .net?

537