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

WPF RadGridview filtering on load throws exception

2 Answers 125 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pradeep
Top achievements
Rank 1
Pradeep asked on 18 Dec 2019, 07:57 PM

WPF RadGridview filtering on load throws exception. When Grid is loaded but not bound to any data, we get following error:

 

Object reference not set to an instance of object. the column cannot be filtered.  

the column cannot be filtered. 

A column without EffectiveFilteringType cannot supply AvailableFilterOperators

 

 

filtering works when data is loaded though

2 Answers, 1 is accepted

Sort by
0
Pradeep
Top achievements
Rank 1
answered on 18 Dec 2019, 08:46 PM
binding to empty collection fixed it
0
Dilyan Traykov
Telerik team
answered on 20 Dec 2019, 11:25 AM

Hello Pradeep,

I'm happy to hear that you've managed to resolve the exception. Do let me know if you come across any other issues.

Regards,
Dilyan Traykov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Pradeep
Top achievements
Rank 1
Answers by
Pradeep
Top achievements
Rank 1
Dilyan Traykov
Telerik team
Share this question
or