473,396 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Problem with Themes in asp.net 2.0

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>

Nov 18 '05 #1
3 1305
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

"RichardF" <no****@no.where.com> wrote in message
news:41***************@msnews.microsoft.com...
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>

Nov 18 '05 #2
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]"
<http://dotnetjunkies.com/weblog/jpalermo> wrote:
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

"RichardF" <no****@no.where.com> wrote in message
news:41***************@msnews.microsoft.com...
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>



Nov 18 '05 #3
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/new...y&amp;slcid=us

Best regards,
Jeffrey Palermo

"RichardF" <no****@no.where.com> wrote in message
news:41****************@msnews.microsoft.com...
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]"
<http://dotnetjunkies.com/weblog/jpalermo> wrote:
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 toactually make a difference in this simple page?

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

Best regards,
Jeffrey Palermo

"RichardF" <no****@no.where.com> wrote in message
news:41***************@msnews.microsoft.com...
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>


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Benny Alexander | last post by:
Hi, I bought a ASP portal script, aspportal.net, But It gives a problem from a line, Set folderpath = fso.getfolder(thepath) The error is, Error Type: Microsoft VBScript runtime (0x800A01B6)...
10
by: Brian Henry | last post by:
Hi, I am having a problem with an attachment system I made... it works with files up to ~3MB in size then after that if you try to upload a file it just goes to a "Page can not be displayed" page...
0
by: Full Decent | last post by:
Hey again! In my quest to make proper use of OO PHP I would like to ask for a critique of the current method of doing themes in the Camera Life (http://fdcl.sf.net) software and see if an OO...
5
by: Jan Hyde | last post by:
I keep reading that there should be a couple of built in themes in the directory ...\Microsoft.NET\Framework\v2.x.xxxxx\ASP.NETClientFiles\Themes I've yet to see any machine with this 'Themes'...
4
by: Sean | last post by:
My experience now working with master pages on and off for 6 months is that they can be very dangerous when working with themes. One example in particular is the changes I made to my banner menu...
6
by: Clinton Farleigh | last post by:
Hi, I was going to ask a question, but I think I've answered it so now I am going to rant about how crappy ASP.NET themes are instead. As I've indicated above, my problem today is with themes....
3
by: WT | last post by:
Hello, I need to list all available themes for a .NET app, is there any API in ..NET2 for this or should I explore the folder files using IO methods ? Thanks for indication CS
11
by: New Bee | last post by:
Hi, I have been looking at Themes and Skins today and now resonably understand how they work at a ground level. But I have a couple of questions. 1. ) StyleSheetTheme I dont understand...
2
by: mike | last post by:
Hi. I am having trouble grasping the concept of applying a consistent theme to an ASP.net website. I didn't used to like ASP because it was too hard to apply a theme from a common theme folder like...
1
by: Cramer | last post by:
Using 3.5: Suppose I have defined 20+ themes (including multiple graphics, ..skin files, and css files per theme), and I want to make those themes *available* to all the Web sites on my Web server....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.