ASP.NET 2.0 introduces a new concept known as Master Pages, in which you create a common base master file that provides a consistent layout for multiple pages in your application. To create a Master Page, you identify common appearance and behavior factors for the pages in your application, and move those to a master page. In the master page, you add placeholders called ContentPlaceHolders where the content (child) pages will insert their custom content. When users request the content pages, ASP.NET merges the output of the content pages with the output of the master page, resulting in a page that combines the master page layout with the output of the content page. In this article, you’ll take a look at the theory behind the master pages and see how to leverage the new Master Pages feature in a Web application. Along the way, you’ll also see some of the advanced concepts of master pages, such as accessing master page controls from code in content pages, nesting master pages, and configuring master page for an entire Web application.
http://www.devx.com/dotnet/Article/18042
Tag Cloud
.NET AJAX ArcGIS ASP.Net ASP.Net 2.0 ATLAS Code Snippets Delphi Exchange Fun Google IIS Internet Linux Microsoft Mobile MySQL Networking News Office365 Online Services Open Source Outlook Personal PHP PowerShell Security Serviços web SharePoint software SQL SQL Server SSL Tips & tricks Transact-SQL Tutorials Uncategorized Utils Visual Studio Web Web 2.0 Windows 7 Windows server Windows Vista wordpressCategories
Contact