Problem with CustomFilter example when switching to manual column creation

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

    Posted 25 Sep 2009 Link to this post

    Hi

    Here's my problem, a while ago, I implemented the search as you type example as is in my grid, which was set using autogenerating columns and a IList<customType> collection, and it was working fine.

    Yesterday, I had to switch the autogenerating columns to a manual creation using GridViewDataColumns, and now, the custom filter gives me an error when I type somthing in.

    At first, I had a CastException, from string to customType, so I added as many columns as my customType has  attributes (not all of them must be displayed at once all the type, it depends).

    After doing that, I have a FormatException, incorrect input format.

    Both exception are raised from this line :

    return this.compositeFilterDescriptor.CreateFilterExpression(parameterExpression) in the method CreateFilterExpression.

    Could you help me fix that issue ?
  2. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 28 Sep 2009 Link to this post

    Please, I could really use some help in here.
  3. DevCraft banner
  4. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 28 Sep 2009 Link to this post

    Never mind, I fixed it. Something to do with the hidden columns on the grid.
Back to Top