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



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

Answer / 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

More C Sharp Interview Questions

What?s a satellite assembly?

2 Answers  


What is the use of delegate?

0 Answers  


What is the difference between package and interface?

0 Answers   Hexaware,


Explain what are three test cases you should go through in unit testing?

0 Answers  


How to add controls dynamically to the form using c#.net.

0 Answers  






How do you convert byte array to hexadecimal string, and vice versa?

0 Answers  


About a class access specifiers and method access specifiers ?

3 Answers   MMTS,


What is CASPOL?

0 Answers   MCN Solutions,


Which type of variables are under the control of garbage collector?

4 Answers   Kanbay,


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

0 Answers   Siebel,


What?s the top .NET class that everything is derived from?

3 Answers  


Does c# support multilevel inheritance?

0 Answers  


Categories