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

Filter box for GridViewImageColumn showing image URIs, not images

4 Answers 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 02 Mar 2015, 06:37 PM
My application contains a `RadGridView` control, which has the columns defined in the XAML.  The last column is a `GridViewImageColumn` that is bound to one of several different images in the program resources, based on the value of a property in the ViewModel object.  The images represent a quality of data enumeration: Good is a Green circle, OK is a Yellow circle, Bad is a Red circle, and N/A is a Grey circle.

Everything displays fine until you click on the Filter icon and open the filtering box.  What gets displayed at that point are the pack URIs to the image resources that are being displayed, not the images.  I'd rather have the images displayed, or a string that describes what the image represents (that is, Green / Yellow / Red / N/A).

How do I modify the control so it displays the images in the Filter box instead of the image URIs?

4 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 02 Mar 2015, 07:05 PM
Hello,

This feature is not supported out of the box. However, it can be achieved with some slight customizations. I have prepared a sample project for you, which I am attaching to the post for your reference.

Regards,
Ivan Ivanov
Telerik
 

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.

 
0
Tony
Top achievements
Rank 1
answered on 03 Mar 2015, 01:35 PM
I'm sorry, but I don't see an attachment to the post.  And I'm sorry about the two threads, there was a message about an error while saving the first thread, and I retried the operation.
0
Ivan Ivanov
Telerik team
answered on 03 Mar 2015, 02:11 PM
Hi Tony,

Please excuse us. We are currently experiencing some technical issues with our system. I have reattached the project and I believe that it should be visible now.

Regards,
Ivan Ivanov
Telerik
 

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.

 
0
Tony
Top achievements
Rank 1
answered on 03 Mar 2015, 02:14 PM
Thank you! I see the attachment now.  I've downloaded it and I will look it over.
Tags
GridView
Asked by
Tony
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Tony
Top achievements
Rank 1
Share this question
or