Anyway to speed up the filter?

2 posts, 0 answers
  1. Robert
    Robert avatar
    3 posts
    Member since:
    Oct 2012

    Posted 18 Dec 2012 Link to this post

    The filter is very, very slow for everyday use against a radgrid. 

    It seems that a postback is created whenever an expression is added, when a field is selected and again when the operator is selected.  To do a simple filter for a last name "containing" it goes through 3 post backs.  Is there a way to speed this up?  Am I missing something?

    Thanks!

    Rob
  2. Daniel
    Admin
    Daniel avatar
    4945 posts

    Posted 21 Dec 2012 Link to this post

    Hi Rob,

    Indeed, these three operations require three postbacks. The best way to improve the performance in this case would be to ajaxify the control as demonstrated in our online demos.
    For your convenience I performed a quick test to check what happens in terms of performance. You can see the results below (also in the attached screenshot)

    Request 1: 15.6 kb 393 ms
    Request 2: 15.8 kb 422 ms
    Request 3: 20.5 kb 432 ms

    Total: 51.9 kb for 1.25 sec for all three requests

    Let me know whether ajaxifying the control helps in your case.

    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
Back to Top