Load from database record when filter changes

3 posts, 0 answers
  1. Kwaku
    Kwaku avatar
    1 posts
    Member since:
    May 2013

    Posted 15 May 2013 Link to this post

    I will like to load from the database the filter expressions and not just hide the rows.
    I set custom filter to true but when I set the grid's datasource to the new results set, I get an error when I try to click a row or change the filter expression.

    Is there a way I can load from the database when filter expression is changing without getting an error message from the gird?

    Thank you
  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 18 May 2013 Link to this post


    Could you be more specific on the matter you are doing things?

    Are you clearing the filters and then setting the datasource on the grid and then reaplying filters?

    Please expand on this and i will do my best to help.

    Best Regards,
    Emanuel Varga MVP
  3. Peter
    Peter avatar
    1160 posts

    Posted 20 May 2013 Link to this post

    Hello Kwaku,

    Thank you for writing.

    I would like to clarify that changing the DataSource in the FilterChanged/FilterChanging events is not supported out of the box from our RadGridView. 
    As Emanuel mentioned, could you provide more details about your scenario?

    the Telerik team
    RadChart for WinForms is obsolete. Now what?
Back to Top