Changing your site layout and style sheets dynamically with ASP.NET

Great article by Scott Guthrie on his blog:

Recipe: Dynamic Site Layout and Style Personalization with ASP.NET

Problem:

You want to enable end-users visiting your web-site to dynamically customize the look and feel of it.  Specifically, you want to enable them to choose different content layouts for the site, as well as different style experiences (colors, fonts, etc). 

When building this customization system, you want to make sure you avoid duplicating logic throughout the multiple pages.  Instead, you want to be able to author the dynamic personalization logic once and have all pages inherit it.

Solution:

ASP.NET 2.0 makes dynamically customizing the UI experience of a web-site easy.  Specifically, it provides a flexible mechanism for defining page layouts using a feature called “Master Pages”.  It also provides a flexible mechanism for defining a page’s style look and feel via a feature called “Themes”. 

What is nice about both “Master Pages” and “Themes” is that they can be configured either statically (by specifying the Master Page or Theme to use within an ASP.NET Page’s

Read the entire Dynamic Site Layout and Style Personalization article

This entry was posted in SharePoint 2007. Bookmark the permalink.

One Response to Changing your site layout and style sheets dynamically with ASP.NET

  1. Ishai Sagi says:

    yeah, too bad he isnt referring to sharepoint…