This is a migrated thread and some comments may be shown as answers.

Real-Time ListBox Updates

1 Answer 53 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Laura
Top achievements
Rank 1
Laura asked on 19 Dec 2015, 08:16 PM

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!

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 23 Dec 2015, 04:15 PM
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.

Regards,
Ivan Danchev
Telerik
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
Tags
ListBox
Asked by
Laura
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or