what is master pages how to use it. plase give one example
in code vice

Answer Posted / subodh kumar

Master page is inbuilt functionality in .Net2.0 or above.
While in .Net1.1 you must be create custom master page
using web user controls.

If you want to display the same section on more then one
page in your application then you can use master page.
A master page have content place holder where you can put
your code for different pages.
To use master page in your web application pages, you must
be include masterpage file name in the page directive. like:
<@ page MasterPage="MyMasterpage.master" .......>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parallel foreach in c#?

636


Can you drink alcohol with a loop recorder?

583


What is method overriding in c#

678


What is a method signature in c#?

592


What is difference between static and constant variable?

620






What is Web.config?

629


What are circular references?

600


What is the difference between yield and return?

539


What is the difference between Static, Const and read only?

645


What is system predicate?

548


What is master page in asp net c#?

565


What is use of FormBoarderStyle Propertie

598


Can a constructor have a return type?

588


What is a lambda expression in c#?

607


What do you mean by serialization in .NET?

626