What is Master Page in Asp.net?
Answers were Sorted based on User's Feedback
Answer / prashanthi
Master Page means in name itself it lies.
MasterPage is a Common Page for all the SubPages.
Without going to SubPages Separately,We can goto SubPages
directly by clicking on Master Page.
It reduces the Work.
This Current Page is an best Example to understand about
MasterPage.
In MasterPage we most prefer treeview to go for subpages.
Is This Answer Correct ? | 21 Yes | 4 No |
Answer / venkat
Master pages let you make a consistent layout for your
application, you can make one master page that holds the
layout/look & feel and common functionality of your whole
application and upon this master page, you can build all
the other pages, we call these pages Content Pages. So
simply you can build your master page and then build
content pages, and while creating the content pages you
bind them to the master page you have created before, those
two pages are merged at runtime to give you the rendered
page
Is This Answer Correct ? | 8 Yes | 3 No |
Answer / subramaniam
Master pages are used to giving common layout for our
applications.
we never change our header,footer.
we should change body using content place holder.
this is very useful for reuseful components of our web page
Is This Answer Correct ? | 7 Yes | 2 No |
Answer / vikas67k
master page is the way to centralize the common
functionality of pages. common functionalities like:
header, footer of page, logo or the site name.
All controls which are placed in the content page or the
child page are within the ContentPlaceHolder which is a
child control of the master page.
now master page is merged and treated like a control in the
content page.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / somnath banerje
master page is main ly used for designing perpose it is
common to all the pages in the application
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / wai zin
A master page is similar to an ordinary ASP.NET web form.
Like a web form, the master page can include HTML, web
controls, and code (either in an inline script block or in a
separate file).The difference between master pages and
ordinary web forms is that master pages can use the
ContentPlaceHolder control, which isn’t allowed in ordinary
pages. The ContentPlaceHolder is a portion of the page
where the content page can insert content.When you create a
new master page in Visual Studio, you start with a blank
page that includes two ContentPlaceHolder controls. One is
defined in the <head> section, which gives content pages the
ability to add page metadata, such as search keywords and
stylesheet links. The second, more important
ContentPlaceHolder is defined in the <body> section, and
represents the displayed content of the page.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / satish m
Master page is the STATIC page.It is mainly for legal
authentication and for security
Is This Answer Correct ? | 2 Yes | 2 No |
What are tuples?
What are the session management techniques asp net?
Which is the best institute in Hyderabad/Secunderabad/Andhra Pradesh to learn DotNet?
How to use a Master Database in Asp.net?
Explain how is a property designated as read-only?
What is form submit?
Fetch one page value to another page without using state-managment ?
how we deploy the asp.net 2.0 application
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
Where is http session stored?
How does exception management works in ASP.NET?
what is cross page posting