Real-Time ListBox Updates

2 posts, 0 answers
  1. Laura
    Laura avatar
    2 posts
    Member since:
    Jan 2013

    Posted 19 Dec 2015 Link to this post

    The user clicks a button and in the code-behind there is a very long process in which I am adding an Item to the ListBox to update the user of what step the process is currently in. By the time the process is done there are 40 new Items but they are only displayed when the process is done. I want the the Item to be displayed immediately for the user in an Ajax kind of way.

    I added the RadAjaxLoadingPanel and RadAjaxPanel to my page but still the Items were displayed after the completion of the long process instead of immediately.

     Any guidance on this would be appreciated!

  2. Ivan Danchev
    Ivan Danchev avatar
    1630 posts

    Posted 23 Dec 2015 Link to this post

    Hello Laura,

    In order to get the information from the server to the client and add the new items created on the server to the ListBox the button click event must finish and the rest of the page lifecycle events have to fire. This is a limitation of the framework and cannot be overcome regardless of using AJAX or not.

    Ivan Danchev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top