ASP.net - Themes

G

Guest

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
 
S

Steven Cheng[MSFT]

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.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top