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
What is the default scope of a class in c#?
When should I use static in C#?
What is the difference between paramaterized constructor and copy constructor?
What is expression tree in c#?
What is the difference between static class and singleton class in c#?
Is learning c# hard?
What is the use of parse in c#?
In C#, explain the difference between overloading and overriding.
without modifying source code if we compile again, will it be generated MSIL again?
Explain what is an interface in c#?
How do you escape c#?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
How many aware interfaces are there?
What is the difference between Object and class adapters?
How to move to a state-related codebase?