Groups | Blog | Home
all groups > asp.net > november 2004 >

asp.net : Problem with Themes in asp.net 2.0


Jeffrey Palermo [MCP]
11/6/2004 6:39:41 PM
Richard,
I've used themes in Whidbey Beta 1, and it works for me. Have you
examined the SmokeAndGlass theme to ensure that it has a default.css and
..skin file? Have you verified that it contains the appropriate elements to
actually make a difference in this simple page?

I have it working exactly as the docs say it should work.

Best regards,
Jeffrey Palermo

[quoted text, click to view]

no.one NO[at]SPAM no.where.com
11/6/2004 11:08:52 PM
Can anyone get themes to work in asp.net 2.0?

The page I have below always looks exactly the same whether I leave
out the Theme directive, or whatever valid value I put for the Theme.
If I put an invalid value (like XXX), then I get build errors.

Any ideas?



<%@ Page Language="VB" Theme="SmokeAndGlass" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Test</title>
</head>
<body>
<form id="form1" runat="server">
<h1>This is only a test!</h1><br />
<asp:Textbox ID="TextBox1" Runat="server" /><br />
<br />
<asp:Calendar ID="Calendar1" Runat="server" /><br />
<asp:Button ID="Button1" Runat="server" Text="Button" />
</form>
</body>
</html>
no.one NO[at]SPAM no.where.com
11/7/2004 4:00:56 PM
Jeffrey,

The BasicBlue theme only has a .skin file and an Images folder.

The SmokeAndGlass theme has a .skin and a .css file and an Images
folder.

Neither theme works. It's not essential for what I am doing at the
moment, but I would like to figure out why it's not working!

Any thoughts?

RichardF


On Sat, 6 Nov 2004 18:39:41 -0600, "Jeffrey Palermo [MCP]"
[quoted text, click to view]
Jeffrey Palermo [MCP]
11/7/2004 5:41:47 PM
Richard,
I'm not sure why it's not working for you. We're in Beta 1 right now,
so there isn't much support for it, but there is a whidbey newsgroup you can
post to:
http://communities.microsoft.com/newsgroups/default.asp?icp=whidbey&amp;slcid=us

Best regards,
Jeffrey Palermo

[quoted text, click to view]

AddThis Social Bookmark Button