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

Checking file size on upload

1 Answer 76 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 06 May 2008, 10:38 AM
This help article shows how we can test the size of a file using the "OnClientProgressUpdating" event of the RadProgressArea object.

However, the article requires that the file size limit is coded in to the JavaScript function.

Given that the actual file size limit is set in the web.config file using the maxRequestLength attribute, wouldn't it be better if this value were used in the called function? OK, I'm guessing that this isn't a value that would, by default, be available in the client-side code, but I'm willing to bet that, server-side, you know, or have access to this value, so you could set it as a client-side property of the RadUpload object.

Just a though.

--
Stuart

1 Answer, 1 is accepted

Sort by
0
Dimcho
Telerik team
answered on 09 May 2008, 04:03 PM
Hi Stuart ,

Thank you for your feedback. 
We will put the suggestion in our feature requests list for further consideration.



Best wishes,
Dimcho
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
Dan
Top achievements
Rank 1
Answers by
Dimcho
Telerik team
Share this question
or