Monitoring 2-part Upload Process and passing data back

Thread is closed for posting
2 posts, 0 answers
  1. Mike Austin
    Mike Austin avatar
    12 posts
    Member since:
    Oct 2007

    Posted 09 Dec 2008 Link to this post

    Hi,

    I've got a situation where I need to upload a file, then process it, all the time letting the user know how it is all going.
    At the moment I have the progress area working fine for the upload (showing the progress for multiple files).
    Once the file is uploaded, I can even send data to the existing progress area using RadProgressContext to update the uploader's progress area.

    Question 1.

    Is it possible to control a second progress area for the second stage of the process?
    This would be cleaner, and would avoid the issue where the progress bar goes to 100% when the upload is complete, then continues from 50% when starting the second phase.


    Question 2.

    Is it possible to send data back via the progress area that could be used by the client?
    In my case I'd want to send the names fo the files successfully saved and the names of those rejected.

    Thanks
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 15 Dec 2008 Link to this post

    Hi Mike Austin,

    Having two progress areas is the better solution. You can choose which progress area to be visible and which one - not in the client-side OnClientProgressUpdating event of the progress manager.
    Custom data can be added to the Progress context, it can be retrieved through the args.get_progressData() method.

    Greetings,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top