Filter box for GridViewImageColumn showing image URIs, not images

2 posts, 0 answers
  1. Tony
    Tony avatar
    111 posts
    Member since:
    May 2011

    Posted 02 Mar 2015 Link to this post

    My application contains a RadGridView control that is used to display search results.  The data displayed contains a property whose value is an enumerated value that represents the quality of GPS data contained in another property.  Values represent Good, OK, Bad, and Not Available (not the identifiers in the code, but just the idea).  This enumerated value is bound to a GridViewImageColumn; there is an IValueConverter class that converts the enumerated value into the pack URI for one of 4 different images in the program resources.  A green circle is used to represent Good, a yellow circle is used for OK, a red circle for Bad, and a grey circle for Not Available.

    Everything displays find, but there is a problem when the users click on the Filter icon to display the Filtering pop-up.  In that case, what they see is the full URI to the images.  This just isn't right; I'd rather have the images themselves displayed, or a string that represents the state, or, if all else fails, just don't let the user filter on the column.

    I know that I can implement the last option easily by setting the column's IsFiterable property to false, but I'd really like to get the Filter popup for this one case to display the image.  The control already has the URI, and using Snoop I was able to see that there is a template that includes a TextBox in use.  I need to override the template for this one column.  How do I do it?
  2. Ivan Ivanov
    Ivan Ivanov avatar
    1218 posts

    Posted 02 Mar 2015 Link to this post


    I have just posted a reply to the other thread of yours that contains a sample project. In order to maintain a consistent dialogue, I would ask you to carry out any further communication on this matter there. Thank you.

    Ivan Ivanov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top