need a size of all the files in AsyncUpload?

2 posts, 0 answers
  1. Bhuvan
    Bhuvan avatar
    50 posts
    Member since:
    Dec 2010

    Posted 14 Feb 2011 Link to this post

    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" />

    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? 
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Feb 2011 Link to this post

    Hello Bhuvan,

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

Back to Top