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

selection and mouseover background color

2 Answers 91 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
paul orsillo
Top achievements
Rank 1
paul orsillo asked on 22 Feb 2011, 10:27 PM
Hi,

I am using both radgridview and radtreelistview in the same app. We are trying to get a common look and feel of course across all parts of the app which includes usingthe same  background colors for mouseover and select across all the pertinent controls. 

I was able to change the colors for the radgridview (someone provided all the templates for RadGridView) for when the mouse mouseovers or selects a row but I can't figure out how to do the same for RadTreeListView.  I generated a control templatefor the overall RadTreeListView from blend but I can find no way to generate its rowtemplates and headertemplates.

I tried to  tried to modfy copies of my radgridview templates  but the RadTreeListView  uses very different row templating so there is no obvious way to modify my RadGridView related templates.  

Is it really necessary to duplicate all the templating just to override a visual state backgound color? 

Is there a simpler way to do this? 


Thank you,
 Paul

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 23 Feb 2011, 01:08 PM
Hello Paul,

 
Actuallty, the templates which are separated from RadGridView are only the templates of RadTreeListView and TreeListViewRow. If you need to change the template of a row in RadTreeListView, you need to edit the template of TreeListViewRow and apply this style to the RadTreeListView. You may follow the same logic as described in the following online help article.


All the best,
Vanya Pavlova
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
paul orsillo
Top achievements
Rank 1
answered on 23 Feb 2011, 02:32 PM
Thank you. That wasn't clear to me. I'll read the article.  
Tags
TreeListView
Asked by
paul orsillo
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
paul orsillo
Top achievements
Rank 1
Share this question
or