Ben Foster 2/11/2012

Applying a theme programatically in ASP.NET Web Forms

Read Original

This technical article explains how to dynamically set and switch themes in ASP.NET Web Forms. It demonstrates creating a base page class to handle theme assignment in the PreInit event and building a utility class and user control to manage theme persistence (using Session) and provide a user-facing theme switcher dropdown.

Applying a theme programatically in ASP.NET Web Forms

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser