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

RadGrid filtering with objects

1 Answer 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Etienne
Top achievements
Rank 1
Etienne asked on 18 Feb 2009, 12:57 PM
Hello,

I'm working on a bug tracking system, and I use a RadGrid to display the bugs that have been reported. The grid's data source is a List<Bug>. Originally, the Bug class had only string properties, so filtering was easy, and it worked pretty well. Unfortunately, I now need to use a Priority class instead of string for the bug's priority. So I created that class and overrode the ToString() to display the priority's name. It works well for display, but filtering does not work. I tried setting the column's type to System.String, but it did nothing.

My question: is it possible to filter with an object type, and how?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 23 Feb 2009, 07:56 AM
Hi Etienne,

To see more information on the requested functionality, please refer to the following topic. I hope it gets you started properly.

All the best,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Etienne
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or