What is the difference between User Controls and Master Pages

Answer Posted / vdk

Master pages and user controils are two different concepts.

Master pages are used to provide the consistent layout and
common behaviour for multiple pages in your
applications.then u can add the Contenetplaceholder to add
child pages custom contenet.
User Controls:Sometimes u need the functionality in ur web
pages which is not possible using the Built-In Web server
controls then user can create his own controls called user
controls using asp.net builtin controls.User controlsn are
those with .aspx extensions and u can share it in the
application.

Is This Answer Correct ?    39 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between login controls and forms authentication?

539


Explain about ASP.NET?

630


Which is better union or union all?

557


Is asp.net and .net are same or different?

519


What is marshalling ? Is it a part of asp.net ?

614






What are the elements of a website?

515


What is asp.net futures?

569


What are the validation controls available in ASP.NET?

540


What does uri mean?

489


how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

1642


What is the difference between web.config and machine.config in ASP.NET?

596


What is difference between Fragment Caching and Page Caching in ASP.NET?

577


Is post back in asp.net?

518


Where sessions are stored in asp.net?

532


What is comparevalidator?

521