A Sneak Peak at MasterPages in ASP.NET 2.0
When graphic designers create a layout for a Web site, they typically break down page layout into distinct regions. For example, as the screenshot to the right shows, all of Amazon.com's Web pages are divided into various sections, such as a header (circled in red), a left navigational region (circled in brown), a center content area (circled in green), and a right "recent news" area (circled in purple).
How to Use Master Pages
A master page makes it easy for you to create pages that have common elements such as banners and navigation menus. That's why it is one of the most important new features of ASP.NET 2.0. In fact, you may decide that you're going to use one master page for every group of pages that you develop.
Master Pages In ASP.NET 2.0
A professional web site will have a standardized look across all pages. For example, one popular layout type places a navigation menu on the left side of the page, a copyright on the bottom, and content in the middle. It can be difficult to maintain a standard look if you must always put the common pieces in place with every web form you build. In ASP.NET 2.0, master pages will make the job easier.
Master Pages in ASP.NET 2.0
Master Pages enable you to create ASP.NET pages that follow a consistent theme and style. Stephen Walther shows you how to take advantage of this new feature.
Enterprise Open Source Journal Enterprise Open Source Journal is the first magazine designed solely to focus on open source strategies in the enterprise.
subscribe now