Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Filter > Disable postback

Not answered Disable postback

Feed from this thread
  • Dmitry Intermediate avatar

    Posted on Dec 7, 2011 (permalink)

    Hello,
    Below is scenario I want to use:
    1. Create custom filters on clientside. Not with RadFilter object!
    2. Iterate filters collection and add expressions to RadFilter on clientside.
    3. Call applyExpressions() to actually apply filter.

    But on 2nd step RadFilter starts postback right after 1st expression is added! This is not what I want.
    Problem is the RadFilter a part of custom AJAX control which is inserted to RadWindow's ContentTemplate. RadWindow is placed at the same page as grid. And each time when postback occures, the whole grid will reload. This is not acceptable for us. Can you please help?
    Thank you.

    Reply

  • Marin Marin admin's avatar

    Posted on Dec 12, 2011 (permalink)

    Hello Dmitry,

     A postback is always required by the RadFilter control because every time you add a new filter expression it is persisted on the server and later used to construct the actual filter query.
    You can try to wrap the RadFilter inside an UpdatePanel or ajaxify the whole content of the RadWindow so that the RadFilter inside it performs asynchronous postback and the grid is not refreshed every time. This help article explains how you can do this: http://www.telerik.com/help/aspnet-ajax/radwindow-ajaxifying.html 

    All the best,
    Marin
    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Filter > Disable postback
Related resources for "Disable postback"

ASP.NET Filter Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]