Current filter:
                                You should refresh the page.
                                We apologize for the inconvenience. Our ordering system and the support center may be offline for a few hours on Sunday, May 19 due to maintenance tasks.
                                0
                                  • Hi,

                                    Is there a client side method for getting the size of the ASPxUploadControl selected file before upload begins (i.e. in FileUploadStart???). Something like

                                              function Uploader_OnUploadStart()
                                              {
                                                var vntFileSise = uploader.FileSize();
                                              }

                                    Thanks,
                                    Sean.

                                0

                                Hi Sean,

                                No, sorry, we do not provide this client side property. The list of client side members published by the ASPxUploadControl is available at:

                                ASPxClientUploadControl Members

                                Thanks,
                                Plato

                                0

                                Hi Plato,

                                My system seems to hang when a large file is selected for upload and the MaxFileSize validation setting does not seem to catch the fatc that the file is over the size limit.

                                Is there any way to check the file size before the system hangs?

                                Thanks,
                                Sean

                                0

                                Hello Sean,

                                I assume that your issue might be similar to the ASPxUploadControl - Access Denied on UploadingProgressChanged report. Please take a look at that discussion.

                                > Is there any way to check the file size before the system hangs?
                                Actually you can't get the file size before you upload it to the server because of file system security. But I've found an article which should help you: Check file size before upload.

                                Please also upgrade your current version of DX controls to the latest one. I think that possible bugs were fixed, and your problem should already have been eliminated.

                                Thanks,
                                Vest

                                0

                                Thanks Vest.

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.