Groups | Blog | Home
all groups > c# > may 2006 >

c# : ASP.net - Themes


WayDownUnder
5/11/2006 10:37:02 PM
Hello,
I have a theme in my project . I use the page directive
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="Content01.aspx.cs" Inherits="Content01"
Title="Untitled Page" Theme="Summer" %>

The page does not seem to pick up the theme.
the page is a content page liked to a master page.
Any help appreciated



--
stcheng NO[at]SPAM online.microsoft.com
5/12/2006 12:00:00 AM
Hi WayDownUnder,

Thank you for posting.

From your description, you're using Theme in your ASP.NET 2.0 applcation,
however, you found that the one of the custom Theme in your application
didn't work on a certain ASP.NET page which applied a Master page, correct?

Based on my understanding, Theme will apply at the whole page scope no
matter we've applied MasterPage or not. Also, as for your case, I'm
thinking it is possibly a page specific issue. If your Theme is defined
correctly, you can try creating some other simple pages and apply that
theme (use Theme or StyleSheetTheme on page) to see whether it works. Also,
in the VS IDE, is the design-time intellisense automatically prompt your
custom Theme's name when you type the "=" in the @page directive for Theme
attribute? In addition, you can check whether the theme is disabled in the
web.config file.

If there is anything else I missed, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
AddThis Social Bookmark Button