what is Master pages in asp.net? what is the advantages and
disadvantages?




Answers were Sorted based on User's Feedback



Answer / priya

A master page is an ASp.Net file with
extension .master,such as MasterPage.Master,with a
predefined layout that can include static text,HTML
elements,and server control.

Advantages:They allow u to centralize the common
functionality of ur passage so that u can make updates.
they provide an object model that allows to customize the
master page from individual content pages.

Is This Answer Correct ?    32 Yes 7 No

Answer / sarat

Advantages of master pages include the following:

■ They allow you to centralize the common functionality of
your pages so that you can make updates in just one place.

■ They make it easy to create one set of controls and code
and apply the results to a set of pages. For example, you
can use controls on the master page to create a menu that
applies to all pages.

■ They give you fine-grained control over the layout of the
final pages by allowing you to control how the placeholder
controls are rendered.

■ They provide object models

Is This Answer Correct ?    15 Yes 4 No

Answer / kotareddy

A master page is an ASp.Net file with
extension .master,such as MasterPage.Master,with a
predefined layout that can include static text,HTML
elements,and server control.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer



More ASP.NET Interview Questions

How can i include both C# and vb.net classes in same solution?

2 Answers  


Types of configuration files and their differences ?

2 Answers   Accenture,


ASP.NET Web Service

1 Answers  


How can you debug an ASP page, without touching the code?

1 Answers   Prodigy Technologies,


What is the T-SQL equivalent of IIF (immediate if/ternary operator) function of other programming languages?

1 Answers   Syntax Softtech,






What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?

3 Answers  


In a page there is dropdown list with the name of the cities like Bangalore,Pune,Chennai,Other and a text box that would enable the user to enter the name of the city if other is selected. How to enable validation on the text box if other is selected

8 Answers   Proteans,


How can you implement encapsulation in asp.net?

6 Answers   TCS,


what does membership class provide?

1 Answers  


How do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


write six HTTP request method?

4 Answers   IBM,


hi ans dis qstn. "what is d max size of query string. If it exceeds does it give error. if yes wt error it gvs, if no gv the reason" thnx in advance

3 Answers  






Categories