Answer Posted / wai zin
A master page is similar to an ordinary ASP.NET web form.
Like a web form, the master page can include HTML, web
controls, and code (either in an inline script block or in a
separate file).The difference between master pages and
ordinary web forms is that master pages can use the
ContentPlaceHolder control, which isn’t allowed in ordinary
pages. The ContentPlaceHolder is a portion of the page
where the content page can insert content.When you create a
new master page in Visual Studio, you start with a blank
page that includes two ContentPlaceHolder controls. One is
defined in the <head> section, which gives content pages the
ability to add page metadata, such as search keywords and
stylesheet links. The second, more important
ContentPlaceHolder is defined in the <body> section, and
represents the displayed content of the page.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the asp.net list controls and difference between them?
What are the different methods of session maintenance in asp.net?
Explain Features in ASP.NET
Explain model, view and controller represent in an mvc application? : asp.net mvc
What are the asp.net 2.0 features?
What is asp.net ajax?
What are the three parts of an http response?
How long should a session id be?
What is the default timeout for a cookie?
what are the web form events available in asp.net?
Is there any alternative to avoid name collisions other then Namespaces?
How can you dynamically add user controls to a page?
Define caching.
What is the purpose of url encoding?
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?