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

Explain the process of abstraction with an example?

0 Answers  


Define multicast delegate in c#?

0 Answers  


How are Windows programs different from normal C-programs?

0 Answers   Tech Mahindra,


What is namespace explain with example?

0 Answers  


When you inherit a protected class-level variable, who is it available to?

2 Answers  






What is desktop application testing?

0 Answers  


What are the different states of a thread?

0 Answers  


How to sign an assembly with strong name?

0 Answers   CitiusTech,


In .NET which is the smallest unit of execution?

0 Answers   Siebel,


Are structs value types or reference types?

0 Answers  


What are primitive types in c#?

0 Answers  


How do you determine whether a string represents a numeric value?

0 Answers  


Categories