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

Adding extra information about upload

4 Answers 66 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Konstantinos
Top achievements
Rank 1
Konstantinos asked on 05 Dec 2011, 02:40 PM
Dear Sir/Madam

I would like to show to the users, during their upload, the following information:

- Elapsed Time
- Estimated Time
- Speed (MB/s)
- MBs uploaded
- Total MBs

This information should be dynamically updated on individual textblocks after every packet is successfully received by the server.

Have you got an example prepared with these elements inside?

Thank you in advance.


Kind Regards,
Konstantinos

4 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 08 Dec 2011, 12:24 PM
Hi Konstantinos,

Thank you for your interest in RadUpload first. The RadUpload actually shows the size of every file that is being uploaded or is going to be uploaded, it also shows a Total uploaded memory. You can check out the Visual Structure article in the documentation. As for the speed, start time and estimated time , please check out this article. Using the UploadStarted, ProgressChanged and UploadFinished events you will be able to calculate the speed (speed (kb/s) = uploaded kbs / time spent) and the estimated time (est time (seconds) = KBs to go / avg.speed so far ( KB/sec)).

Kind regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Konstantinos
Top achievements
Rank 1
answered on 09 Dec 2011, 12:34 PM
Hello Petar

Is there an example project solution file for the code found in the article you mentioned?

Thanks again.


Kind Regards,
Konstantinos
0
Accepted
Petar Mladenov
Telerik team
answered on 14 Dec 2011, 01:39 PM
Hello Konstantinos,

Please check out the attached solution and let us know if it satisfies you.

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Konstantinos
Top achievements
Rank 1
answered on 15 Dec 2011, 12:45 PM
Exactly what I needed, thank you.


Kind Regards,
Konstantinos
Tags
Upload
Asked by
Konstantinos
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Konstantinos
Top achievements
Rank 1
Share this question
or