iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
now i have a another problem with this control, occurs when i try to upload a file to a server path,
the file transfer is incomplete,
I wish to know the reason for this problem and how to correct the file loads, usually occurs with files larger than 30 MBAnnex xaml code and xaml.cs<Intersoft:UXFileUpload Grid.Row="1" Height="Auto" Width="250" x:Name="uploadPresentaciones" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="12,12,12,12" ServiceUrl="http://localhost:16219/UXFileUploadHandler.ashx" TargetFolder="~/ClientBin/MyStorageFolder" OverwriteExistingFiles="True" TargetWebUrl="http://{host}/ClientBin/MyStorageFolder" MaxFileSize="204800000" Style="{StaticResource PhotoUploadStyle}" IsAutomaticUpload="True" CanSelectMultiple="False" ShowStatisticsOnCompleted="False" EnforceFileTypeValidation="True" FileTypeFilter="PPT File(*.ppt;*.pptx), Document File(*.pdf;*.doc;*.docx), Excel File(*.xls;*.xlsx)|*.pdf;*.doc;*.docx;*.xls;*.xlsx;*.ppt;*.pptx;" UploadedFileUrl="{Binding preview, Mode=TwoWay, ValidatesOnDataErrors=True}" Visibility="Collapsed" FilesUploaded="uploadPresentaciones_FilesUploaded" FilesUploading="uploadPresentaciones_FilesUploading" FilesUploadFailed="uploadPresentaciones_FilesUploadFailed" UploadCancelled="uploadPresentaciones_UploadCancelled"/>
XAML.CS
bool isUploading = false; private void uploadPresentaciones_FilesUploaded(object sender, Intersoft.Client.UI.Aqua.UXInput.FilesUploadResponseEventArgs e) { lastUpladedFile = e.Files[0].ResultUrl.LocalPath; if (!string.IsNullOrEmpty(lastUpladedFile)) { lblArchivo.Visibility = System.Windows.Visibility.Visible; uploadPresentaciones.Visibility = System.Windows.Visibility.Collapsed; btnSalvar.Visibility = System.Windows.Visibility.Visible; } isUploading = false; }private void uploadPresentaciones_FilesUploading(object sender, Intersoft.Client.UI.Aqua.UXInput.FilesUploadingEventArgs e) { isUploading = true; } private void uploadPresentaciones_FilesUploaded(object sender, Intersoft.Client.UI.Aqua.UXInput.FilesUploadResponseEventArgs e) { lastUpladedFile = e.Files[0].ResultUrl.LocalPath; if (!string.IsNullOrEmpty(lastUpladedFile)) { lblArchivo.Visibility = System.Windows.Visibility.Visible; uploadPresentaciones.Visibility = System.Windows.Visibility.Collapsed; btnSalvar.Visibility = System.Windows.Visibility.Visible; } isUploading = false; }private void uploadPresentaciones_UploadCancelled(object sender, Intersoft.Client.UI.Aqua.UXInput.UploadCancelledEventArgs e) { isUploading = false; }Regards, Carlos
Hello Carlos,
Based on my replied on Developer Network, when set ShowStatisticsOnComplete as false, this issue would occur. Please try to remove this property and let me know the result.
Regards,Handy
Tnks Handy,
let me try!!! i let you know results
Hello Handy,
I've removed the property ShowStatisticsOnComplete,
i've uploaded a file of 55.1Mb but still occurs the issue.
Please give us a little time to investigate this issue. I will let you know the result asap.
Ok, thanks for help!!!
Regards,
Carlos
Weird, I still could not replicate the issue. I attached my sample. Please let me know if you can replicate the issue in my sample or not.
I haven't heard any response since my last post. Is everything fine?
apologies for not responding before, in fact, the error is not fixed in the loading of files larger than 30 MB, which led us to use another. ashx file.
Have you seen my xaml? If you use it, can you upload file larger than 30MB?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname