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

Explain how does asp page work?

567


What is use of <% %> in asp.net?

541


How you can stop the validation of ASP.NET controls from client side?

522


What are the modes of updation in an updatepanel?

548


Explain the purpose of storyboard.targetproperty.

516






Explain the advantages of asp.net.

540


Why do we use datasource in asp.net?

515


What is difference between viewstate and session state in javascript?

569


Where is asp.net session stored?

471


What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?

1417


Give me one example of Web API Routing?

593


What is viewstate in asp net with example?

523


What is role-based security in asp.net?

517


What is the difference between session and application?

496


Explain About duration in caching technique

612