Current filter:
                                You should refresh the page.
                                Support Center
                                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.

                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners