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
Are private members inherited in c#?
What is short in c#?
Explain how can I get around scope problems in a try/catch?
What are the types of comment in c# with examples?
what is a constructor? What is a destructor?
What is the difference between static and private constructor in c#?
What are the types of parameters in c#?
Explain the use of SN.exe
What are anonymous types in c#?
Can I use exceptions in c#?
What is public, private, protected, internal and internal protected?
Explain the types of comments in c#?
List some of the classes used by system.data namespace?
Is goto statement supported in c#?
What is virtual class in C#?