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

check the file size on client side

1 Answer 73 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 29 Mar 2011, 03:35 PM
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



1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Mar 2011, 01:25 PM
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.
Tags
Upload (Obsolete)
Asked by
Rahul
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or