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 the difference between sealed vs static class?
How many types of Cookies are available in ASP.NET?
What is server objects in asp.net?
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
In a Code-Behind class generally which type of code is found ?
when the user control event occur in ASp page life cycle?
how we use web services
How do you create a permanent cookie?
You have been given the task of designing a web services to expose the data that is stored in a database on the server. In order to successfully build the web services, you need to import some namespaces. What is the minimum namespace you need to import? a) System.Web b) System.WebServices c) System.Web.Services d) System.Web.ServiceModel
We have 2 sites in which one site allows the user with out asking credentials and second one ask for credentials through a log page. What might be the configurations settings for both sites? We can use IIS and web.config files together.
What are sessions used for?
How to turn off cookies for a page?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)