Error In simple task???? gridview

0 Answers 57 Views
GridView
John
Top achievements
Rank 1
John asked on 25 Mar 2022, 03:38 PM

Why does this simple task not work on radGridView when the FilterMode is FilterRow?

I put the test code below behind a button click event for what I thought was a simple 5 minute test.

Data is loaded, grid is looking good, then I click the button

 

FilterDescriptor Test = new FilterDescriptor();

 

Test.Value = "ABC";

Test.Operator = FilterOperator.StartsWith;

Test.Member = "COLUMNNAME";

 

GridTest.FilterDescriptiors.add(Test); <------------- EXCEPTION

 

This throws and exception with message "The method or operation is not implemented"

 

 

 

Stenly
Telerik team
commented on 30 Mar 2022, 09:22 AM

I have implemented the provided code snippet in a sample application, in order to reproduce the mentioned exception, however, I was unsuccessful. On my end, when the above code snippet is executed on a RadButton's Click event, the newly created FilterDescriptor is correctly applied, and the RadGridView control is filtered. 

With that said, I have attached the test application, so, could you give it a try and let me know if I am missing something?

No answers yet. Maybe you can help?

Tags
GridView
Asked by
John
Top achievements
Rank 1
Share this question
or