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 |
Why and where this web.config file is used?
How Web Services help Us? What r the difference between Remoting and webservices
5 Answers Protech, TCS, Tech Mahindra,
How is my content secured from unauthorized access?
What parameters can you pass in the url of the api?
What is caching? Explain.
How many view state can be hold by a aspx page ?
how to stop cookie in particular page using asp.net
How can you make sure that web api returns json data only?
What is custom tag in web.config ?
2 Answers Accenture, BirlaSoft,
Explain authentication levels in .net ?
What would be the salary of an Asp.net developer with 1 and half year experience in indian rupees..??
By default what is the Asp.Net application login context on IIS 5.0? By default the ASP.Net app runs in the context of a local user ASPNet on IIS version 5. On IIS version 6 on windows 2003 it is called Network service