What are the 3 levels at which content pages can be attached to Master Page?

 Posted by deccansoft on 10/30/2010 | Category: ASP.NET Interview questions | Views: 5140


1. At the page level - You can use a page directive in each content page to
bind it to a master page

2. At the application level - By making a setting in the pages element of
the application's configuration file (Web.config), you can specify that
all ASP.NET pages (.aspx files) in the application automatically bind to
a master page.

3. At the folder level - This strategy is like binding at the application
level, except that you make the setting in a Web.config file in one
folder only. The master-page bindings then apply to the ASP.NET pages in
that folder.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response