show real-time logging of server-side events

2 posts, 0 answers
  1. Shawn Currie
    Shawn Currie avatar
    11 posts
    Member since:
    Jul 2009

    Posted 19 Feb 2011 Link to this post

    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?

  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 24 Feb 2011 Link to this post

    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.

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