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

Monitoring 2-part Upload Process and passing data back

1 Answer 46 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Mike Austin
Top achievements
Rank 1
Mike Austin asked on 09 Dec 2008, 12:14 PM
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

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 15 Dec 2008, 03:04 PM
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.
Tags
Upload (Obsolete)
Asked by
Mike Austin
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or