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 |
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?
How to write unmanaged code and how to identify whether the code is managed / unmanaged ?
2 Answers Accenture, BirlaSoft, Cogtest,
Interface have Default Modifier Is 'Public'.Where We Will Use The KeyWord In Interface?
3 Answers Phoenix Technologies,
How Many types of Page Load functions in asp.net
Usage of web.config?
What method do you use to explicitly kill a users session?
How do we assign page-specific attributes?
which event in global.asx that fires for every request of same user?
User contro having 4 text boxes given validation controls. i want to execute validations after the button click event how it is?
Which data type does the rangevalidator control support?
What are the memory-mapped files?
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)