A bug of Radupload for upload handler

2 posts, 0 answers
  1. Park
    Park avatar
    8 posts
    Member since:
    Jul 2008

    Posted 24 Sep 2010 Link to this post


    I found a bug of RadUpload.

    I am using RadControls for SL4 2010.2.812.1040 version.

    I found a sample for postprocessing uploaded files in this forum and it worked well with RadControls_for_Silverlight_3_2010_1_0702_dev.

    However, it didn't work after I updated existing RadControls into new SL4 version.

    This is my sample code.

       ' Checks whether the last file has been uploaded successfully
        ' If this is the case, then add the last file's name to the string of names
        Private Function LastFileUploadedSuccessfully() As Boolean
            Dim isUplaoded As Boolean = False
            If Me.IsFinalFileRequest() Then
                If Me.Result.ContainsKey(RadUploadConstants.ParamNameSuccess) Then
                    Dim data As Object = Me.Result(RadUploadConstants.ParamNameSuccess)
                    If TypeOf data Is Boolean Then
                        isUplaoded = CBool(data)
                    End If
                End If
            End If
            Return isUplaoded
        End Function

    RadUploadConstants.ParamNameSuccess Constants is defined as "RadUAG_success".
    However, real vaule of it was 0_RadUAG_success, when I debug.
    Therefore, LastFileUploadedSuccessfully always became false.

    BTW, there are several break changes;
    RadUploadConstants.ParamNameFileIdent and RadUploadConstants.ParamNameFilePath do not exist at new SL4 version.

    I would appreciate very much, if you could handle above issues.

  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 29 Sep 2010 Link to this post

    Hi Park,

    With the "RadControls for Silverlight-4.2010-1-0430" Internal Release we introduced a new functionality of RadUpload -the Batch Upload . Now one upload request (i.e. one chunk) can contain multiple files. As a result the speed of uploading a  set of small files is significantly increased. We could not achieve this without introducing some changes in the RadUploadHasndler control. More information about the these changes you can find here.

    However, I am not sure what RadUpload functionality the project you downloaded illustrates. If you can send us a link to the project, we will update it accordingly and further investigate these issues.

    Also, you can examine the examples in our KB articles here.

    Tina Stancheva
    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