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

Changing cell-selected colour

2 Answers 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Zero Gravity Chimp
Top achievements
Rank 2
Zero Gravity Chimp asked on 06 Apr 2010, 07:02 AM
Hello,

I've got the following problem: when i try to follow the help on this page: http://www.telerik.com/help/silverlight/gridview-styling-cell.html

I right click the dummy cell, edit template, edit a copy, and none of the resources it shows there are there. in fact, i can't find any colours or anytthing at all. instead of a 'style' it creates a 'control template'.

My problem is that none of the cells in my grid are editable.

Even though I've set 'IsReadOnly" to true on each and every column definition, there is still a 'highlight' colour applied to each cell if you hover over it and click it.

I can solve this if someone can give me a copy of the default cellstyle?
upgraded to q1 10 today.

Thanks in advance,

Zero Gravity Chimp

2 Answers, 1 is accepted

Sort by
0
Accepted
Kalin Milanov
Telerik team
answered on 07 Apr 2010, 09:32 AM
Hello Paul Maré,

Please find attached a sample solution which achieved what you are describing.
As for getting the style of a dummy element I would suggest going via the menu (Object -> Edit Style).
Keep me posted how this goes.

Regards,
Kalin Milanov
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
Zero Gravity Chimp
Top achievements
Rank 2
answered on 09 Jun 2010, 07:00 AM
Hi,

Thanks a lot. I've managed to do this successfully now.

thanks for the tips. I will try the object-> edit style to generate the defaults from now on.

Regards,

Chimp
Tags
GridView
Asked by
Zero Gravity Chimp
Top achievements
Rank 2
Answers by
Kalin Milanov
Telerik team
Zero Gravity Chimp
Top achievements
Rank 2
Share this question
or