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

RadUpload Bug if uploading File

3 Answers 80 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Akiono Wan
Top achievements
Rank 1
Akiono Wan asked on 20 Dec 2010, 04:42 PM
Hello,

i got a not exspected behavior while using the Radupload Control for Silverlight.

I configured RadUpload control with these settings:

IsAutomaticUpload="True"
IsMultiselect="False"
OverwriteExistingFiles="True"
IsAppendFilesEnabled="False"
MaxFileCount="1"

therefore it should be possible to upload one single file only . If I selected the file via the OpenFileDialog uploading starts as exspected.
The problem is now: the Upload Button occurs and I can start uploading the selected file again.
The result of this action is: Progressbars (File and Overall) does not match anymore and is flickering. Progressbar is beyond 100%. File is uploaded and will be overwritten by the same file again.


I use Radupload Version: 2010.3.1110.1040
Telerik.Windows.Controls Version: 2010.3.1110.1040
and Telerik.Windows.Controls.Input Version: 2010.3.1110.1040

with RadUploadHandler Version: 2010.3.1110.35

I tried a previos version of the RadUpload Control (Ver. 2010.2.924.1040)  that works as exspected (not beeing able to start upload 2 times, cause Pause Button and not Upload Buttons is shown).

See attachment with a VS2010 demo solution to reproduce the error and some pictures which shows the errors:
Step 1 to 4 Pictures.
Rename .png to .rar to unzip Files.

Update:  File Upload failed, therefore i will upload pictures only.

Merry Christmas and kind regards
Akiono Wan

3 Answers, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 22 Dec 2010, 02:44 PM
Hi Akiono Wan,

Thank you for reporting this. I was able to reproduce this issue. We have made some changes around the UI related code of the RadUpload and this was a side product of this. The state was incorrectly updated when automatic upload was enabled. I have already resolved this and updated your Telerik points accordingly. The resolution will be available with the next internal build.


Regards,
Alex Fidanov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Nathaniel
Top achievements
Rank 1
answered on 14 Feb 2011, 09:13 PM
Using the RadUpload for the first time. I have set MaxFileCount="1", and I am not seeing an error when I attempt to upload a second file. The documentation indictaes I should see a "  a notification icon and a tooltip with an error message " . 
0
Alex Fidanov
Telerik team
answered on 15 Feb 2011, 09:08 AM
Hi Nathaniel,

 Are you uploading two files separately or you are uploading them in a bundle at once? The MaxFileCount property only relates to the number of files that can be uploaded at once, not generally.

Greetings,
Alex Fidanov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Upload
Asked by
Akiono Wan
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Nathaniel
Top achievements
Rank 1
Share this question
or