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
Can we have multiple web config files for an asp.net application?
What is http protocol and how it works?
Is it possible to change the index of primary key on table?
How does session id work?
Where sessions are stored in asp.net?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
What is the difference between web.config and machine.config in ASP.NET?
What are the different types of Caching techniques in ASP.NET?
Explain how cookies work. Give an example of cookie abuse.
In how many ways we can retrieve table records count?
What is difference between inproc and outproc?
What are main return types supported in Web API?
What is diff. Between abstract class and an interface?
How ASP.NET page works?