Interviews - C# Corner

Kayleigh
What are the 3 levels at which content pages can be attached to Master Page?
By Kayleigh in ASP.NET onJul 23 2011
  • Kunal Naik
    Jul, 2011 27

    Hi Kayleigh,


    The 3 levels at which content pages can be attached to Master Page are as follows,

    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.

    • 0

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS