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

need a size of all the files in AsyncUpload?

1 Answer 66 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Bhuvan
Top achievements
Rank 1
Bhuvan asked on 14 Feb 2011, 10:47 AM
Hi i had a code like this
<telerik:RadAsyncUpload ID="RadAsyncFile_Upload" runat="server" AllowedFileExtensions="jpg,jpeg,png,gif,doc,pdf,zip,rar" 
                                     MaxFileInputsCount="2"  MaxFileSize="2097152">
                                    <Localization Select="Browse" />
                                    </telerik:RadAsyncUpload>

So i had doubt that how to check the size of both the files on client side so that it should not exceed 2 MB and how do we convert  the files async upload to byte? 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 14 Feb 2011, 11:35 AM
Hello Bhuvan,

Here is a code library which explains the same.
Client-Side file size validation in RadAsyncUpload

Thanks,
Shinu.
Tags
AsyncUpload
Asked by
Bhuvan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or