Change Row Background color based on condition

2 posts, 0 answers
  1. farizvi
    farizvi avatar
    8 posts
    Member since:
    Feb 2007

    Posted 25 Feb Link to this post

    I've been trying to change the row background color in radgridview based on a condition




        var row = e.Row;
    Style style = new Style(typeof(GridViewRow));
                    style.BasedOn = e.Row.Style;



  2. Yoan
    Yoan avatar
    1051 posts

    Posted 25 Feb Link to this post


    The way to go is to use RowStyleSelector as demonstrated in this help article.

    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 Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top