This is a migrated thread and some comments may be shown as answers.

A bug of Radupload for upload handler

1 Answer 88 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Park
Top achievements
Rank 1
Park asked on 24 Sep 2010, 07:04 AM
Hello.

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.





1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 29 Sep 2010, 05:44 PM
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.

Greetings,
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
Tags
Upload
Asked by
Park
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or