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

New custom filter bug

2 Answers 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ludovic Gerbault
Top achievements
Rank 1
Ludovic Gerbault asked on 14 Aug 2009, 08:24 AM
Hello,

I updated my application yesterday with the Q2 SP1 release, and I've tried using the custom filter descritpion when you apply a specific format string to the column.

In my case, I have a column date which I only wanted to display the month.

So I've customed my column like this :

<grid:GridViewDataColumn DataFormatString="{}{0:MMMM}"
                                         DataMemberPath="dt_ecriture"
                                         HeaderText="Mois"
                                         TextAlignment="Center"
                                         Width="Auto" />

And it works great.

Then, I read that the new release would automatically custom the filter on the column header to the format string applied on the column.

So I checked, but if it indeed takes the new format string, it display in the filter several times the same item, kind of like if I was missing a DISTINCT clause in a SQL statement.

So for instance, if I have two dates in January, the custom filter will give me two January in the list.

And If i want to display only the january records, I have to check all january checkbox in the list.

You can see an example in this screenshot :

http://img8.imageshack.us/img8/3638/bugtelerikmoisendoubles.jpg

Regards

Ludovic







2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 14 Aug 2009, 08:27 AM
Hi Ludovic ,

Please send us small example via support ticket where this can be reproduced. We will review your scenario and if there is something wrong with the grid you will receive immediate hotfix.

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Ludovic Gerbault
Top achievements
Rank 1
answered on 14 Aug 2009, 08:28 AM
Sure, I'm sending you the demo right away.
Tags
GridView
Asked by
Ludovic Gerbault
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Ludovic Gerbault
Top achievements
Rank 1
Share this question
or