check the file size on client side

Thread is closed for posting
2 posts, 0 answers
  1. Rahul
    Rahul avatar
    142 posts
    Member since:
    May 2009

    Posted 29 Mar 2011 Link to this post

    i want to check the file(image)  size on client side if file size grater than 100 MB
    When i tried to upload the image file that time if user upload the file grater than 100 mB then show the error message file size grater ...  Need to check this validation using java script and custom validation




    Thanks
    Rahul



  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Mar 2011 Link to this post

    Hello Rahul,

    When validating selected files in client-side code, you can only check the file extensions. Information about the file sizes is not available on the client until files are uploaded. Once the upload begins, however, RadProgressManager  relays to RadProgressArea information from the sever, including the combined file size.

    Checkout the following help article for more on this.
    Checking File Size on the Client

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top