Upload issue - add & remove items

5 posts, 0 answers
  1. Chris
    Chris avatar
    26 posts
    Member since:
    Jun 2010

    Posted 05 Jul 2010 Link to this post

    Hey guys,

    i`m using the RadAsyncUpload control for the first time and wondered about an issue that appeared. 

    First of all i`ve to say that the whole upload is working well even within ajaxyfied content. But there appeared one issue i wasn`t able to detect the issue.

    For example there is my AsyncUpload sample code.

    <telerik:RadAsyncUpload ID="rauImage"  
                                runat="server"  
                                AllowedFileExtensions=".jpg"  
                                MaxFileInputsCount="1"  
                                MaxFileSize="5242880"  
                                InitialFileInputsCount="1" 
                                OverwriteExistingFiles="true" 
                                TemporaryFileExpiration="05:00:00"
    </telerik:RadAsyncUpload> 
     
    Please notice that there is only one input field ony my page, because it is necessary that there is only once.
    In all scenarios i`ve only have one input field.

    Now i`ve tried to use the upload in the following scenario:

    • I`ve selected a file (file was written into the handler)
    • I`ve used the submit button for a postback

     The file was successfully uploaded to the handler and after a postback it was successfully stored on the server. 


    After that i´ve tried the following scenario:

    • I`ve selected a file (file was written into the handler) (File1)
    • I`ve removed the file
    • I`ve now selected another file (file was written into the handler)(File2)
    • I`ve used the submit button for a postback

    In this scenario the behaviour is like follows. The upload doesn`t store the current selected File (File2) it is storing the old File (File1) that i`ve already removed from the server.


    I`ve wondered about the issue. Because if you are validating the selected file  and in case the file isn`t valid  you`ll have no chance to upload a second valid file because the second file is never being uploaded
    Are there any suggestions out there?

    Thanks in advance.

    Regards

    Chris









  2. vladan strigo
    vladan strigo avatar
    23 posts
    Member since:
    Apr 2005

    Posted 05 Jul 2010 Link to this post

    I have this same issue.

    Any ideas?
  3. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1600 posts

    Posted 05 Jul 2010 Link to this post

    Hello guys,

    This is a problem in RadAsyncUpload which we have resolved for the latest release. The fix will go official together with the upcoming Q2 release (scheduled for the middle of July).

    All the best,
    Genady Sergeev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. aliguldur
    aliguldur avatar
    4 posts
    Member since:
    Oct 2004

    Posted 27 Jul 2010 Link to this post

    I have this same issue too.

  5. Yana
    Admin
    Yana avatar
    4973 posts

    Posted 27 Jul 2010 Link to this post

    Hi aliguldur,

    We had some issues with RadAsyncUpload in the official release, could you please download the latest internal build and give it a try?

    Best regards,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top