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
0
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.
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
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.
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...