473,322 Members | 1,718 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,322 software developers and data experts.

Themes - headerstyle forecolor not working

I've got the following in a skin:
Headerstyle-BackColor="#5C6A51"
HeaderStyle-ForeColor="#FFFFFF"
Headerstyle-Font-Names="Verdana"
Headerstyle-Font-Bold="True"
Headerstyle-Font-Size="12"

This is for a Gridview - - - anything I enter or change works, except the
Forecolor - the forecolor, no matter what I put in the forecolor - it always
shows black

I'm using Boundcolumns, if that makes any difference.

any ideas why this doesn't work?
Sep 17 '07 #1
1 2485
SimpleMan75 wrote:
I've got the following in a skin:
Headerstyle-BackColor="#5C6A51"
HeaderStyle-ForeColor="#FFFFFF"
Headerstyle-Font-Names="Verdana"
Headerstyle-Font-Bold="True"
Headerstyle-Font-Size="12"

This is for a Gridview - - - anything I enter or change works, except
the Forecolor - the forecolor, no matter what I put in the forecolor
- it always shows black

I'm using Boundcolumns, if that makes any difference.

any ideas why this doesn't work?
You can check the resulting HTML in the page (browser - view source) and try
to figure out what may be the cause.
You may even post that HTML (the Gridview part at least) here.

--

Riki
Sep 17 '07 #2

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

Similar topics

8
by: yuri | last post by:
Hi all At coding XP Themes i can't get "GetThemeColor" to work. It always fails ("not found" err. code) regardless of which control parts and states entered. Could somebody help me with advice?...
3
by: RichardF | last post by:
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...
4
by: Dianna | last post by:
I am writing an ASP .NET application. Controls such as Listbox and combo box pick up the Users Themes from there PC and display selected items using such selected highlight colors. I have a...
9
by: Max Weebler | last post by:
Hi, I have a datagrid built that has an alternating item style that sets the backcolor and ForeColor of its rows. I have 4 template columns. One of them has a LinkButton embedded in it to...
12
by: Michael | last post by:
Hello, I'm starting to use Themes. I skin some Web controls, like a WebPart and a CatalogPart. While browsing my Web page, I can see that the Theme is working, in VS 2005, in design view, I...
4
by: clintonG | last post by:
Ever tried looking at the source? Holy Mackerel. Is there some strategy to use CSS with Themes that does not result in the framework generating inline styles for every HTML element of the page? I...
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...
1
by: tshad | last post by:
I have a DataGrid where I want the text in the cells to be black. But I want the header to have a black background and white text. The problem is the settings in the DataGrid are not overriding...
0
by: moni.aggarwal | last post by:
-------------------------------------------------------------------------------- Hi I have made a httpmodule to control my themes.I have an image in my skin file of my apptheme folder. But the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.