what is the use of master pages. how to use it
Answers were Sorted based on User's Feedback
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 |
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 |
What is the difference between struct and class in c#?
What is a void c#?
How does split work in c#?
How big is an int16?
What is c# entity framework?
what is a structure in c#
list the steps in code compilation in c#?
Compare and contrast between the System.Array.CopyTo() and Clone()?
What is anonymous method in c#?
Explain the difference between a namespace and assembly name in .net?
Why do we need generics in c#?
How assembly versioning in .NET prevent DLL Hell problem?