I have a custom filter that implements IFilterDescriptor and also IFilteringControl so the user can edit the filter. It works correctly for the first time I filter the data, but I don't know how to tell the GridView that the filter has changed and it must refilter the data.
I've tried to notify that one of the filter properties has changed, but it doesn't work.
The only solution I have found is to remove my filter from the column and add again my own filter. But this is a two-step process and the list is filtered twice. If I put this code between a pair of SuspendNotifications and ResumeNotifications, but the list is not updated. Even when calling Reset after the ResumeNotifications call.
What should I do for the list to be filtered?
Patrick
9 Answers, 1 is accepted
May I ask you to please share how exactly do you update the filter?
Regards,Didie
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
I change some of the properties of my IFilterControl and raise the NotifyPropertyChanged event.
I don't know if I have something else to do.
Patrick
Can you please prepare a very simple dummy project showing all of this and I will debug it immediately to see what exactly is going on. This will be the fastest way to solve the problem -- I need something which I can run locally, debug and fix the code accordingly if possible.
Thank you in advance. You can attach the project in a support ticket.
Rossen Hristov
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
can the project be in Oxygene?
Because I'm not very good to write C# code and even worse for VisualBasic code.
Patrick
I am afraid that I only know C#.
Anyway, I will try to debug the Oxygene code -- it can't be that different from the stock C#. And I will learn something new in the process.
Rossen Hristov
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Is this the version I need to download, so I can debug it in Visual Studio?
http://www.remobjects.com/download.aspx?publicdownloadurl=http://trials.remobjects.com/TRIAL/Oxygene/RemObjects%20Oxygene%20-%206.0.49.1301.exe
?
Rossen Hristov
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
I'm preparing a test version with this version of the compiler, so that you can test it.
Patrick
I've created a aupport ticket for this question. Ticket number is 719302.
Patrick
I've replied to the support ticket.
Regards,Rossen Hristov
Telerik
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>