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

Filter not working with custom DataRow

5 Answers 79 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Benedikt
Top achievements
Rank 1
Benedikt asked on 23 Sep 2015, 07:46 AM

I have problem with the RadGridView, and my own ObservableDataRowThe grid throws an exception if i click on the filter symbol in a grid. This problem occures if i bind to the following object:

RadObservableCollection<ObservableDataRow> items = new RadObservableCollection<ObservableDataRow>();
// Items will be filled with instances of ObservableDataRow instances...

The error does NOT occure if i declare the collection like this:

RadObservableCollection<DataRow> items = new RadObservableCollection<DataRow>();

But i also fill the list with instances of ObservableDataRow.

The exception: No generic method 'Select' for the type 'System.Linq-Quieryable' is with the provided type argument and arguments compatible. No type argument should be provided, if the method is not generic. (Translated from a german error message - may not the same as thrown in english.)

Using RadObservableCollection<DataRow> solved the problem, but there must be a bug.

Or did i some thing else wrong?

As an additional information, i have also created my own ObservableDataTable for creating instances of ObservableDataRow.

Thank you.

5 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 25 Sep 2015, 01:39 PM
Hello Sebastian,

I resolved similar issue a while back. Could you test whether you can reproduce the behavior with our current official release Q2 2015 SP ?

Regards,
Maya
Telerik
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
0
Benedikt
Top achievements
Rank 1
answered on 25 Sep 2015, 01:40 PM
I've used the newest Q2 2015 release in the project. So yes, i could.
0
Maya
Telerik team
answered on 25 Sep 2015, 01:43 PM
Hi,

Great, let me know how it goes. 

Regards,
Maya
Telerik
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
0
Benedikt
Top achievements
Rank 1
answered on 25 Sep 2015, 01:55 PM

In my case the exists in the newest version. Nothing changed from previous versions. Thank you.

 

0
Maya
Telerik team
answered on 28 Sep 2015, 08:21 AM
Hello Sebastian,

That's a bit strange. Could you send a small reproducible project that I can debug on my side and investigate the cause of the problem ?  

Regards,
Maya
Telerik
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
Tags
GridView
Asked by
Benedikt
Top achievements
Rank 1
Answers by
Maya
Telerik team
Benedikt
Top achievements
Rank 1
Share this question
or