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

show real-time logging of server-side events

1 Answer 59 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Shawn Currie
Top achievements
Rank 1
Shawn Currie asked on 20 Feb 2011, 03:47 AM
I'm trying to create an application that will display real-time logging of server-side events and show the status of these events within an ajaxpanel. I'm performing tasks such as extracting a zip file, copy files/folders to other locations, and deleting files and folders... all on the server where the application will be hosted.

I would like the status of each of these processes to be displayed to the user... for example:

- zip file is now being extracted... complete
- now searching for audio folder... complete
- now copying audio folder contents to driver folder... complete

... and so on

Can anyone suggest how this can be implemented?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 24 Feb 2011, 09:21 AM
Hi Shawn,

Showing the desired information to the user is possible with RadAjax. But you should do multiple ajax request, one for each action you what to show as completed. Because the page html is updated ones after the response from the server is sent to the client. Therefore you cannot sent different messages during the process on the server is not finished.

Greetings,
Iana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Ajax
Asked by
Shawn Currie
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or