October 16, 2007

A quick intro to MasterPages

MasterPages are a new feature of ASP .NET 2.0 and simplify the creation of a site-wide template with editable regions. In some applications I developed, the layout was previously created and styled using CSS; then, a MasterPage was created to centralize the site-wide page layout and make it easier to create a consistent and updateable look and feel across all pages, as they will appear within a ContentPlaceHolder defined on the MasterPage. Therefore, for the overall design to be applied to all other pages on the Presentation Layer it suffices to select their Master Page.

No comments: