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

ItemStyle ForeColor on a datagrid

Hi,

I have a datagrid whereby I specify the ForeColor for my
ItemStyle to be #ff6600.

However this does not change the color of the font to be
above.
If I change the backcolor, it changes fine but he
ForeColor does not.

My datagrid is in a <td> which has a style class.

Surely, if I explicitly state the ForeColor in my
ItemStyle, this should override teh font color in my <td>
style class??

Thanks,
Clive.
Nov 17 '05 #1
0 1009

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

Similar topics

0
by: Clive | last post by:
Hi, I have a datagrid whereby I specify the ForeColor for my ItemStyle to be #ff6600. However this does not change the color of the font to be above. If I change the backcolor, it changes...
3
by: matthew schouppe | last post by:
I have a datagrid with two columns, the first a normal bound column, the second is a template column created from a bound column. For the ItemTemplate of the Template Column, I removed the label...
4
by: Paul King | last post by:
Hi there, Im trying to setup an ASP DataGrid to format my results in a clear manner. I have 3 fields to bring back into the grid, these are Date, Venue and Comments. However I would like to...
0
by: Diego | last post by:
Does the Wrap="False" feature work for a datagrid with autocolums or it's just a joke? Regards, Diego.
0
by: leodippolito | last post by:
Hello sirs, In my aspx file I have a datagrid with some BoundColumn's. When a format has been defined for a column (for colors, horizontal alignment, etc), it adds an ItemStyle element...
1
by: leodippolito | last post by:
Hello sirs, In my aspx file I have a datagrid with some BoundColumn's. When a format has been defined for a column (for colors, horizontal alignment, etc), it adds an ItemStyle element inside...
0
by: Smith | last post by:
I have used literal and datagrid control in my application. For literal text I have used the font size as 1. What should I select (Larger,xx-small....) for the itemStyle.Font.Size property to make...
0
by: .Net Sports | last post by:
I'm trying to display a figure in my datagrid as a currency ($100.00), but I can't use DataFormatString inside templatecolumn, itemstyle, or itemtemplate (as they imply that no attribute named...
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...
1
by: kurtzky | last post by:
Hi guys. Does anyone know how to set/format a datagrid's forecolor without overriding the Paint Method? Is it even possible? Or I really have to override the Pain? coz when i tried to override it...
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...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.