Reload RadFilter from Saved Query in DB

5 posts, 0 answers
  1. Rekha
    Rekha avatar
    9 posts
    Member since:
    Jul 2012

    Posted 20 Jul 2012 Link to this post

    Hello

    I use a radfilter and radgrid to populate some data. I am saving the RadFilter expression in Db using the following code.

    RadFilterSqlQueryProvider provider = new RadFilterSqlQueryProvider();
                provider.ProcessGroup(RadFilter1.RootGroup);
                String result = provider.Result;

    Now in one page , I want to edit this value in DB. i.e, I want to reload this saved query to radfilter from the value in DB and thereby rebind the grid accordingly.

    Any help will be highly appreciated.

    Regards
    Rekha.
  2. Daniel
    Admin
    Daniel avatar
    4943 posts

    Posted 24 Jul 2012 Link to this post

    Hello Rekha,

    It is not possible to just "reload" the string expression to the control. You should use one of the provided settings formatters (binary or Base64 string) if you need such functionality (save/load expressions).
    Saving and Loading Filter Expressions

    Best regards,
    Daniel
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rekha
    Rekha avatar
    9 posts
    Member since:
    Jul 2012

    Posted 30 Jul 2012 Link to this post

    Hello Daniel

    Thank you so much for your response.

    Regards
    Rekha
  5. Tom Rasmussen
    Tom  Rasmussen avatar
    20 posts
    Member since:
    Jan 2009

    Posted 14 Aug 2012 Link to this post

    I would also like to see this capability.  It would be beneficial for migrating from older stored string expressions to RadFilter expressions.  An SQL expression parser (string to RootGroup) would be fantastic.
  6. Daniel
    Admin
    Daniel avatar
    4943 posts

    Posted 17 Aug 2012 Link to this post

    Hello Tom,

    Thank you for your suggestions. I will pass your feature request to our developers for consideration.

    Best regards,
    Daniel
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017