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

Uploading doesn't work

3 Answers 74 Views
Upload
This is a migrated thread and some comments may be shown as answers.
vaitko
Top achievements
Rank 1
vaitko asked on 01 Dec 2010, 05:15 PM
Hi, i'm trying to use RadUpload control. Behaviour:

1. Clicking Browse button to select file for uploading upload (doesn't matter large or small one) - OK
2. Clicking button "Upload" - OK - Progress bar increasing, everything looks fine
3. When progress bar reach 100% warning icon appears without tooltip.
4. When debugging, breakpoint in FileUploadFailed stops on each chunk, and FileUploadFailedEventArgs.ErrorMessage is empty.

Some technical info:

1. Telerik i'm referencing: Telerik.Windows.RadUploadHandler.dll, File version: 2010.1.309.35
2. Added upload control to xaml: <telerik:RadUpload FileUploadFailed="FileUploadFailed" UploadServiceUrl="https://localhost/myproject/UploadHandler.ashx" TargetFolder="/test" />
3. Granted full access for Everyone on test directory which is in root web (Tried with TargetPhysicalFolder by setting physical path - the same problem)
4. https://localhost/myproject/UploadHandler.ashx in browser returns {"JSONData":[{"Key":"RadUAG_message","Value":"Empty file name"},{"Key":"RadUAG_success","Value":false}]}

The question is whats wrong there or at least how to find out some more info about whats happening? thanks

3 Answers, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 02 Dec 2010, 09:55 AM
Hello Gintaras Vaitkus,

Have you tried reproducing this with the latest builds (Q3)? I believe we have made some significant changes in the RadUpload on the server side code as well as the client side code.

Best wishes,
Alex Fidanov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
vaitko
Top achievements
Rank 1
answered on 02 Dec 2010, 05:58 PM
Thanks for the answer. The problem is that we have no telerik version updates planned in current project phase, so maybe there is smth i should try to do to avoid this problem with current version?
0
Alex Fidanov
Telerik team
answered on 03 Dec 2010, 10:05 AM
Hi Gintaras Vaitkus,

Have you looked at this article regarding using RadUpload and https? Maybe the source of the issue is somewhere in the configuration. I have tested this without the https and with the short syntax for the service url (UploadServiceUrl="../Handler1.ashx") and it worked correctly with the version you are using.

All the best,
Alex Fidanov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
Upload
Asked by
vaitko
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
vaitko
Top achievements
Rank 1
Share this question
or