Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
eg_hch  
#1 Posted : Thursday, July 06, 2006 12:44:55 PM(UTC)
eg_hch

Rank: Member

Groups: Member
Joined: 6/13/2006(UTC)
Posts: 22

I am evaluating the ImageUploader
I have set the property of MaxFileCount to 50
When I was in 3.5 version, it works perfect
but in the 4.0 version, it will hit the error status when i add exactly 50 images
Is it a bug? How can I solve it?

Regards,
Jerry
Alex Makhov  
#2 Posted : Thursday, July 06, 2006 8:03:00 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Administration
Joined: 8/3/2003(UTC)
Posts: 998

Hello Jerry,

We have tried to reproduce the problem but MaxFileCount works right as it has to work. We have tested with 10, 30, 50 and more files and it always worked fine. Could you show your page source code?
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
eg_hch  
#3 Posted : Thursday, July 06, 2006 8:14:14 PM(UTC)
eg_hch

Rank: Member

Groups: Member
Joined: 6/13/2006(UTC)
Posts: 22

Code:
 <object type="application/x-oleobject" 
 classid="clsid:6E5E167B-1566-4316-B27F-0DDAB3484CF7" width="100%" height="400" 
 CodeBase="ImageUploader4.cab#version=4,0,27,0" id="ImageUploader" name="ImageUploader">

 <param name="Layout" value="ThreePanes">
 <param name="BackgroundColor" value="#FFFFFF">




 <param name="PreviewThumbnailSize" value="72">
 <param name="ShowDescriptions" value="false">
 <param name="ThumbnailVerticalSpacing" value="5">
 <param name="ThumbnailHorizontalSpacing" value="5">
 <param name="ShowContextMenu" value="true">
 <param name="MaxFileCount" value="50">
 <param name="MaxFileSize" value="10000000">
 <param name="FileMask" value="*.jpg;*.jpeg;*.jpe">

 
 <param name="AllowTreePaneWidthChanging" value="true">
 <param name="TreePaneWidth" value="260">
 <param name="FolderPaneHeight" value="180">
 <param name="FolderView" value="Thumbnails">
 <param name="UploadView" value="Details">
 
 <param name="ShowButtons" value="false">

 <param name="StatusSelectedFilesText" value="<%=Resources.UI.SelectedFile %>: [Current] / [Total]">
 <param name="SilentMode" value="false">
 
 <param name="ShowDebugWindow" value="false">
 <param name="AdditionalFormName" value="aspnetForm">
 <param name="EnableRotate" value="false"> 
 <param name="Action" value="UploadPhotos.aspx?upload=true">
 
 <param name="ButtonStopText" value="">
 <param name="ButtonSelectAllText" value="<%= Resources.UI.SelectAll %>">
 <param name="ButtonDeselectAllText" value="<%= Resources.UI.DeselectAll %>">
 <param name="ButtonSendText" value="<%= Resources.UI.Upload %>">
 <param name="ButtonAddToUploadListText" value="<%= Resources.UI.AddToUploadList %>">
 <param name="ButtonAddAllToUploadListText" value="<%= Resources.UI.AddAllToUploadList %>">">
 <param name="ButtonRemoveFromUploadListText" value="<%= Resources.UI.RemoveFromUploadList %>">
 <param name="ButtonRemoveAllFromUploadListText" value="<%= Resources.UI.RemoveAllFromUploadList %>">
 <param name="ListColumnFileNameText" value="<%= Resources.UI.ListColumnFileName %>">
 <param name="ListColumnFileSizeText" value="<%= Resources.UI.ListColumnFileSize %>">
 <param name="ListColumnFileTypeText" value="<%= Resources.UI.ListColumnFileType %>">
 <param name="ListColumnLastModifiedText" value="<%= Resources.UI.ListColumnLastModified %>">
 <param name="DropFilesHereText" value="<%= Resources.UI.DropFilesHere %>">">
 <param name="MenuThumbnailsText" value="<%= Resources.UI.MenuThumbnails %>">">
 <param name="MenuDetailsText" value="<%= Resources.UI.MenuDetails %>">">
 <param name="MenuListText" value="<%= Resources.UI.MenuList %>">">
 <param name="MenuIconsText" value="<%= Resources.UI.MenuIcons %>">">
 <param name="MenuSelectAllText" value="<%= Resources.UI.MenuSelectAll %>">">
 <param name="MenuDeselectAllText" value="<%= Resources.UI.MenuDeselectAll %>">">
 <param name="MenuInvertSelectionText" value="<%= Resources.UI.MenuInvertSelection %>">">
 <param name="MenuAddToUploadListText" value="<%= Resources.UI.MenuAddToUploadList %>">">
 <param name="MenuAddAllToUploadListText" value="<%= Resources.UI.MenuAddAllToUploadList %>">">
 <param name="MenuRefreshText" value="<%= Resources.UI.MenuRefresh %>">">
 <param name="MenuRemoveFromUploadListText" value="<%= Resources.UI.MenuRemoveFromUploadList %>">">
 <param name="MenuRemoveAllFromUploadListText" value="<%= Resources.UI.MenuRemoveAllFromUploadList %>">
 
 <param name="ProgressDialogPreparingDataText" value="<%= Resources.UI.ProgressDialogPreparingData %>">
 <param name="ProgressDialogEstimatedTimeText" value="<%= Resources.UI.ProgressDialogEstimatedTime %>">
 <param name="ProgressDialogTitleText" value="<%= Resources.UI.ProgressDialogTitle %>">
 <param name="ProgressDialogSentText" value="<%= Resources.UI.ProgressDialogSent %>">
 <param name="ProgressDialogCancelButtonText" value="<%= Resources.UI.ProgressDialogCancelButton %>">
 <param name="ProgressDialogWaitingForResponseFromServerText" value="<%= Resources.UI.ProgressDialogWaitingForResponseFromServer %>">
 <param name="ProgressDialogCloseWhenUploadCompletesText" value="<%= Resources.UI.ProgressDialogCloseWhenUploadCompletes %>">
 <param name="ProgressDialogWaitingForRetryText" value="<%= Resources.UI.ProgressDialogWaitingForRetry %>">
 <param name="MessageMaxFileCountExceededText" value="<%= Resources.Messages.MessageMaxFileCountExceeded %>">
 <param name="MessageMaxFileSizeExceededText" value="<%= Resources.Messages.MessageMaxFileSizeExceeded %>">
 <param name="MessageUploadCompleteText" value="">
 <param name="ProgressDialogCloseButtonText" value="<%= Resources.UI.ProgressDialogCloseButton %>">
 
 <param name="UncheckUploadedFiles" value="True">
 </object>

    <script for="ImageUploader" event="Progress(Status, Progress, ValueMax, Value, StatusText)">
    switch(Status){
        case "START":
            break;
        case "PREPARE":
            break;
        case "UPLOAD":
            break;
        case "COMPLETE":
            alert("<%= Resources.UI.UploadSuccess_1 %> <%= Resources.UI.UploadSuccess_2 %> "+document.forms[0].UploadBatchNo.value);
            //window.location = 'UploadPhotos.aspx?copyright='+getURLParam("copyright")+'';
            document.all.UploadFormFrame.src='UploadForm.aspx?copyright='+getURLParam("copyright")+'';
            break;
        case "CANCEL":
            alert("<%= Resources.Messages.CancelUploading %>");
            break;
        case "ERROR":
            alert("<%= Resources.Messages.ApplicationError %>");
            break;            
    }
    </script>


The alert message in the Progress event with ERROR status will be shown when I add 50 images

Edited by user Wednesday, December 19, 2007 4:06:51 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Thursday, July 06, 2006 8:28:00 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Administration
Joined: 8/3/2003(UTC)
Posts: 998

OK,

We have reproduced the problem. We will fix it. Thank you for the bug report.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Alex Makhov  
#5 Posted : Friday, July 07, 2006 5:13:07 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Administration
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

We have fixed the problem. The fix will be available in the next release.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
eg_hch  
#6 Posted : Sunday, July 09, 2006 10:39:31 AM(UTC)
eg_hch

Rank: Member

Groups: Member
Joined: 6/13/2006(UTC)
Posts: 22

Thank You

Regards,
Jerry
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.