In this chapter, you'll learn:
How to create and use ASP.NET master pages and content pages to create a consistent layout in Web Forms applications.
By Scott Mitchell|
This tutorial will show master page basics. Namely, what are master pages, how does one create a master page, what are content place holders, how does one create an ASP.NET page that uses a master ...
By Scott Mitchell|
Examines how to add multiple content place holders to a master page as well as how to specify default content in the content place holders.
By Scott Mitchell|
Looks at different techniques for defining assorted <head> elements in the Master Page from the content page.
By Scott Mitchell|
Addresses how URLs in the master page can break due to the master page file being in a different relative directory than the content page. Looks at rebasing URLs via ~ in the declarative syntax and...
By Scott Mitchell|
Illustrates how ContentPlaceHolder controls serve as a naming container and therefore make programmatically working with a control difficult (via FindConrol). Looks at this issue and workarounds. A...
By Scott Mitchell|
Examines how to call methods, set properties, etc. of the Master Page from code in the Content Page.
By Scott Mitchell|
Examines how to call methods, set properties, etc. of the Content Page from code in the Master Page.
By Scott Mitchell|
Discusses options for using ASP.NET AJAX and master pages. Looks at using the ScriptManagerProxy class; discusses how the various JS files are loaded depending on whether the ScriptManager is used ...
By Scott Mitchell|
Looks at setting the content page's master page programmatically via the PreInit event handler.
By Scott Mitchell|
Shows how to nest one master page within another.
By Scott Mitchell|
This tutorial will show master page basics. Namely, what are master pages, how does one create a master page, what are content place holders, how does one create an ASP.NET page that uses a master ...
By Scott Mitchell|
Examines how to add multiple content place holders to a master page as well as how to specify default content in the content place holders.
By Scott Mitchell|
Looks at different techniques for defining assorted <head> elements in the Master Page from the content page.
By Scott Mitchell|
Addresses how URLs in the master page can break due to the master page file being in a different relative directory than the content page. Looks at rebasing URLs via ~ in the declarative syntax and...
By Scott Mitchell|
Illustrates how ContentPlaceHolder controls serve as a naming container and therefore make programmatically working with a control difficult (via FindConrol). Looks at this issue and workarounds. A...
By Scott Mitchell|
Examines how to call methods, set properties, etc. of the Master Page from code in the Content Page.
By Scott Mitchell|
Examines how to call methods, set properties, etc. of the Content Page from code in the Master Page.
By Scott Mitchell|
Discusses options for using ASP.NET AJAX and master pages. Looks at using the ScriptManagerProxy class; discusses how the various JS files are loaded depending on whether the ScriptManager is used ...
By Scott Mitchell|
Looks at setting the content page's master page programmatically via the PreInit event handler.
By Scott Mitchell|
Shows how to nest one master page within another.