By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,217 Members | 1,443 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,217 IT Pros & Developers. It's quick & easy. - Themes

P: n/a
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

Life in the sun
May 12 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
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.


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!
(This posting is provided "AS IS", with no warranties, and confers no

May 12 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.