This is a migrated thread and some comments may be shown as answers.

RadGrid set disabled color

3 Answers 150 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 2
Phil asked on 25 Jun 2010, 08:11 PM
Hi All:

I have a whole RadGrid that is sometimes disabled, and the default color is very light, so my user is having a problem seeing the data.  So, how do I set the disabled color in the skin?

Phil

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 28 Jun 2010, 01:49 PM
Hello Phil,

I am afraid you can't change the color of disabled elements - Internet Explorer does not allow this (and it changes the color of disabled elements automatically). You can try changing the grid's background color or the rows' background colors instead.

http://www.telerik.com/help/aspnet-ajax/grdcustomizingrowappearance.html

Sincerely yours,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Phil
Top achievements
Rank 2
answered on 30 Jun 2010, 02:32 AM
Hi:
The following kind of works:
shippersGrid.Enabled = CheckBox1.Checked; 
shippersGrid.AlternatingItemStyle.Font.Bold = !shippersGrid.Enabled; 
shippersGrid.ItemStyle.Font.Bold = !shippersGrid.Enabled; 
 

In the above, I set the font to bold.  The color always goes the same gray, so the font color will not work.

The other option seems to be disable the controls not the grid (more work).

Phil
0
Manolo
Top achievements
Rank 1
answered on 26 May 2011, 05:01 PM
Is there any way to do that (change disabled color in controls) on winforms?
Tags
Grid
Asked by
Phil
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Phil
Top achievements
Rank 2
Manolo
Top achievements
Rank 1
Share this question
or