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

Custom filter: how to notify a filter change?

9 Answers 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 23 Jul 2013, 11:58 AM
Hello,
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

Sort by
0
Dimitrina
Telerik team
answered on 23 Jul 2013, 03:35 PM
Hello Patrick,

May I ask you to please share how exactly do you update the filter? 

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
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 >>
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 23 Jul 2013, 03:38 PM
Hello Didie,
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
0
Rossen Hristov
Telerik team
answered on 24 Jul 2013, 08:38 AM
Hello,

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.

Regards,
Rossen Hristov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
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 >>
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 24 Jul 2013, 08:45 AM
Rossen,
can the project be in Oxygene?
Because I'm not very good to write C# code and even worse for VisualBasic code.
Patrick
0
Rossen Hristov
Telerik team
answered on 24 Jul 2013, 01:39 PM
Hello,

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.

Regards,
Rossen Hristov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
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 >>
0
Rossen Hristov
Telerik team
answered on 24 Jul 2013, 01:47 PM
Hi,

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

?

Regards,
Rossen Hristov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
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 >>
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 24 Jul 2013, 02:39 PM
Hello Rossen,
I'm preparing a test version with this version of the compiler, so that you can test it.
Patrick
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 24 Jul 2013, 02:49 PM
Hello Rossem
I've created a aupport ticket for this question. Ticket number is 719302.
Patrick
0
Rossen Hristov
Telerik team
answered on 25 Jul 2013, 07:46 AM
Hello,

I've replied to the support ticket.

Regards,
Rossen Hristov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
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 >>
Tags
GridView
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dimitrina
Telerik team
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Rossen Hristov
Telerik team
Share this question
or