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 event in asp.net?

526


What is new asp.net core?

565


Can I have a unique key as foreign key?

530


how to include timer or counting time to display next page in asp.net

1594


Can you explain one critical mapping?

513






How to comment out asp.net tags?

627


What is asp.net mvc? : asp.net mvc

546


What is autopostback in dropdownlist in asp net?

523


What is Razor View Engine

601


What kind of programming language is ASP.NET?

595


Why cyclomatic complexity is important?

549


What is different in .net 1.1 and .net 2.0?

567


How can you use a custom controls in ASP.NET application?

538


Why the javascript validation not run on the asp.net button but run successfully on the html button?

543


Define satellite assemblies.

583