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

Describe Segmentation With Paging?

634


how to debug web services on consumer side?

582


What do you mean by marshalbyref?

646


What is strong-typing versus weak-typing?

586


What do you mean by serialize?

556






What is viewstategenerator?

703


What is the difference between viewstate and hidden field in asp.net?

490


What is the difference between response.redirect and server.transfer?

538


What are the advantages of asp.net mvc framework? : asp.net mvc

547


Describe the diffeerence between inline and code behind?

513


What is the difference between dispose() and finalize()?

501


How many types of Cookies are available in ASP.NET?

590


Explain the difference between debug.write and trace.write?

540


Explain the steps to be followed to use passport authentication.

597


What is asp.net file?

636