what is the use of master pages. how to use it

Answer Posted / raji

ASP.NET 2.0 introduces a new concept known as Master Pages,
in which you create a common base master file that provides
a consistent layout for multiple pages in your application.
To create a Master Page, you identify common appearance and
behavior factors for the pages in your application, and move
those to a master page.
In the master page, you add placeholders called
ContentPlaceHolders where the content (child) pages will
insert their custom content. When users request the content
pages, ASP.NET merges the output of the content pages with
the output of the master page, resulting in a page that
combines the master page layout with the output of the
content page.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the Disadvantages of vb

595


Why static constructor is parameterless in c#?

597


How will you get the different language strings?

505


What is c# most used for?

560


How do I download a program to my desktop?

461






What do you mean by abstract class in c#?

499


What is session and cookies in c#?

525


What is a bool in c#?

474


Can abstract class instantiated c#?

494


Why do we use ienumerable in c#?

480


What is the difference between function and method in c#?

449


What is deferred execution?

477


Why do we use reflection in c#?

485


How to move to a state-related codebase?

892


What is iqueryable in linq?

492