Massive response size

2 posts, 0 answers
  1. Ulrik Rasmussen
    Ulrik Rasmussen avatar
    1 posts
    Member since:
    Dec 2009

    Posted 27 Apr 2011 Link to this post


    I am creating a lot of combo boxes programmatically, which results in a massive response size of about 25 MiB. Since each combo box contains the same list of about 600 elements, I suspect that I can bring down the response size dramatically by binding the list elements on the client side.

    Does anyone have an idea what the easiest way to do this in an asynchronous postback is? I am thinking of serializing the list elements as a javascript array and iterate over every combo box on the client, but this could potentially be very slow. Is there a better way maybe?


  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 27 Apr 2011 Link to this post

    Hello Ulrik,

    The best approach to optimize the performance speed of Telerik RadComboBox when using huge amount of items is using the load-on-demand feature.  The load-on-demand mechanism loads the items only when the user types or clicks in the field or the drop-arrow image. It filters the Items server-side before they are loaded in the control and the Filter feature performs filtering at client-side.

    And I recommend you to retrieve data in portions - with use of ShowMoreResultsBox and VirtualScrolling options.

    Take a look at the this demo which demonstrates the various Load On Demand Modes.

Back to Top