I noticed in the silverlight upload control that when a file is selected on the client, the file size displays in the control.
Is it possible to obtain the length of the file in bytes in the upload handler as its being uploaded? Is it in some dictionary object ?
Thanks
1 Answer, 1 is accepted
0
Ivan
Telerik team
answered on 16 Feb 2009, 04:11 PM
Hi Charles,
Thank you for contacting Telerik Support.
We verified that the file size is not sent to the upload handler. We consider this to be a valuable addition and will update the RadUpload to do support it.
Currently, you can work the issue around by using a custom parameter to send the file size value. To accomplish this task you should follow the following two steps:
1. Add the FileUploadStarting event handler (for RadUpload control) where the custom parameter (with the value of the file size) will be supplied: