foreach (var column in radgrid.Columns) { column.ColumnFilterDescriptor.FieldFilter.Clear(); }
to clear the text ..
question: is it supposed to work like that ?
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 10 Dec 2021, 02:01 PM
Hello Martin,
If you mean the FilterDescripors collection of RadGridView, yes, this is expected. The filtering settings done through the UI go to the ColumnFilterDescriptor property of the column. The FilterDescriptors collection doesn't work with the FilteringControl of the columns. It is a separate API that you can use in code or with an external CollectonView.
Regards,
Martin Ivanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.