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
Why is an object pool required?
Which is better session or viewstate?
If we remove web.config or machine.config from the application then, is this application will works?
How do I use a proxy server when invoking a web service?
Explain the use of errorprovider control in .net?
Explain the disadvantages of viewstate?
How will you load dynamic assembly?
What are the different methods of session maintenance in asp.net?
What is virtual directory in asp.net?
Difference between response.redirect and server.transfer?
Can you explain composite pattern?
List of words of preprocessor in .net?
Explain difference betn dataset and recordset?
What does the .webpart file do?
What is session mode in asp.net?