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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / mahesh babu ummaneni

MASTER PAGE IS NOTHING BUT,IT IS A CONTAINER IT CAN HOLD MULTIPLE PAGES.JUST LIKE WE HAVE MDIPARENT IN WINDOWS FORMS .
UNDER THE MASTER PAGE WE CAN ADD NUMBER OF CHILD PAGES

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the difference between struct and class in c#?

3 Answers  


What is a void c#?

0 Answers  


How does split work in c#?

0 Answers  


How big is an int16?

0 Answers  


What is c# entity framework?

0 Answers  


what is a structure in c#

3 Answers   Cognizant,


list the steps in code compilation in c#?

0 Answers  


Compare and contrast between the System.Array.CopyTo() and Clone()?

0 Answers   Siebel,


What is anonymous method in c#?

0 Answers  


Explain the difference between a namespace and assembly name in .net?

0 Answers  


Why do we need generics in c#?

0 Answers  


How assembly versioning in .NET prevent DLL Hell problem?

0 Answers   DELL,


Categories