473,763 Members | 3,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="SmokeAnd Glass" %>

<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 1322
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.wher e.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="SmokeAnd Glass" %>

<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.c om/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.wher e.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="SmokeAnd Glass" %>

<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.wher e.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.c om/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.wher e.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="SmokeAnd Glass" %>

<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
4678
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) Object doesn't support this property or method: 'getfolder' /aspportal/themes/themes.asp, line 37
10
3085
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 like it tried to do it but errored... I thought changeing the max size for the file input box to about 100mb would fix it but nope here is my page code and my code behind code... ===============
0
1496
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 approach is more appropriate. This program consists of multiple PHP pages that include a common.php file. My motivation is to make making themes easier, so we can get more theme contributors! Themes consist of image files, a css file and a PHP...
5
1957
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' directory. Anyone know why?
4
1683
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 which now work just fine with all my themes on my development machine but on my production server my non-standard themes are showing effects that are no longer in place even with a complete re-copy of my project. Problems like this with...
6
2493
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. Per microsoft "Only one theme can be applied to each page. You cannot apply multiple themes to a page, unlike style sheets where multiple style sheets can be applied."
3
2572
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
6617
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 where this would be used. As I understand it the precidence is like this.
2
1770
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 I could do easily in PHP, but now I see that it has some nicer theming features and master files. So I want to use web.config to switch which theme I'm using, and I want to be able to have several themes. My understanding of themes is that I...
1
1616
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. How can I accomplish this "making them available" without having the themes all automatically applied to each Web site? I understand that I can create "global themes" by placing the theme folders in...
0
9563
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9998
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8822
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.