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 is jit (just in time)?

0 Answers  


Explain About the Sattilite Assembly in .Net Technology?

2 Answers   TCS,


Where is c# compiler located?

0 Answers  


Can we make a Static Constructor Parameterized? Give Reason with your answer

0 Answers  


Why do we need a finally block in try catch block while handling exceptions

4 Answers   IBM,






What is difference between class and interface in c#?

0 Answers  


Explain manifest & metadata.

2 Answers   Wipro,


How can you overload a method?

6 Answers  


Method1() { int a=0, b=0, c=0; Monitor.Enter(this) c = 12; b = 3; a = c/b Moniter.Exit(this) } Method1() { int a=0, b=0, c=0; c = 12; b = 3; lock(this){ a = c/b } } Choose correct answer. a. Upon completion, Method1 and Method2 release the lock b. Upon Comletion, Method1 release the lcok and Method2 not. c. Upon Completion, Method2 release the lock and Method1 not. d. Upon Completion, neither Method1 or Method to release the lock.

1 Answers  


Why multiple Inheritence is not used in C#?

8 Answers   Symphony,


What happens during the process of boxing?

0 Answers  


What is orm in c#?

0 Answers  


Categories