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 is a SESSION and APPLICATION object?
What are the disadvantages of view state?
hi im shailendra singh my question is how we deploye the data base
can u any one tell me clearly where is stored cache datas?
How can u handle Exceptions in Asp.Net?
What are cookies in your browser?
Is it necessary to lock application state before accessing it ?
Types of optimization and name a few and how do u do?
How do we access view state value of this page in the next page?
Less than one page, how many windows will you be able to maintain?
How many validators do ASP.NET have?
What is Partial PostBack in ASP.NET?