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

Change background of selected item

4 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Saumil Shah
Top achievements
Rank 1
Saumil Shah asked on 15 Jun 2010, 03:37 PM
How can i change background of selected item. I dont want default gridview color for selected item, because it is similar to background color of our gridview template. How can i change background and foreground color for selected item in gridview. ( Is it possible without importing default style template of telerik RADGRIDVIEW ??? )

4 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 15 Jun 2010, 03:45 PM
Hello Saumil Shah,

You do not need to import the whole RadGridView style ,
You will need to modify just the row template by setting the RadGridView.RowStyle property. This can be easily done in Blend.

Greetings,
Pavel Pavlov
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
Saumil Shah
Top achievements
Rank 1
answered on 15 Jun 2010, 04:14 PM
Thanks for your quick response. I am trying in blend but it is still importing whole template of row style and I want to do only one change. I can understand i can do this by editing a copy of current style in blend, but is there any shorter way of doing it. Can i define this in GridViewStyle or can i do this in code behind??
0
Accepted
Pavel Pavlov
Telerik team
answered on 15 Jun 2010, 04:48 PM
Hello Saumil Shah,

These settings are not exposed as properties of the Row , so the only way to go would be to redefine the template.

Best wishes,
Pavel Pavlov
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
Saumil Shah
Top achievements
Rank 1
answered on 15 Jun 2010, 04:49 PM
Thanks for quick responses. I will redefine template...
Tags
GridView
Asked by
Saumil Shah
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Saumil Shah
Top achievements
Rank 1
Share this question
or