New custom filter bug

3 posts, 0 answers
  1. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 14 Aug 2009 Link to this post

    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. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 14 Aug 2009 Link to this post

    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.
  3. DevCraft banner
  4. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 14 Aug 2009 Link to this post

    Sure, I'm sending you the demo right away.
Back to Top