selection and mouseover background color

3 posts, 0 answers
  1. paul orsillo
    paul orsillo avatar
    31 posts
    Member since:
    Jan 2010

    Posted 22 Feb 2011 Link to this post

    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. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 23 Feb 2011 Link to this post

    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!
  3. DevCraft banner
  4. paul orsillo
    paul orsillo avatar
    31 posts
    Member since:
    Jan 2010

    Posted 23 Feb 2011 Link to this post

    Thank you. That wasn't clear to me. I'll read the article.  
Back to Top