A2Z Dotnet

Gain & Share Dotnet Knowledge.

Master Pages Tutorials

Welcome to a series of tutorials about ASP.NET Master Pages, which explore how to use Master Pages in ASP.NET applications.

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 page, how modifying the master page is automatically reflected in its associated content pages, and so on. Download Creating a Site-Wide Layout Using Master Pages article.

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. Download Multiple ContentPlaceHolders and Default Content article.

Looks at different techniques for defining assorted <head> elements in the Master Page from the content page. Download Specifying the Title, Meta Tags, and Other HTML Headers in the Master Page article.

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 using ResolveUrl and ResolveClientUrl programmatically. Download URLs in Master Pages article.

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. Also discusses how to programmatically access the resulting ClientID value. Download Control ID Naming in Content Pages article.

Shows how to nest one master page within another. Download Nested Master Pages article.

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 in the Master page or Content page. Download Master Pages and Asp.Net Ajax article.

Advertisements

October 3, 2008 - Posted by | General |

1 Comment »

  1. its fine
    thanks

    Comment by vedamurthy | March 19, 2012


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: