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

RadAsyncUpload - Uploading non text files fails

2 Answers 94 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Felipe Casanova
Top achievements
Rank 1
Felipe Casanova asked on 01 Jul 2011, 10:53 AM
Hi, I'm having an issue with the RadAsyncUploadControl in that any text based file will upload successfully but anything else that's in a binary format such as an image, PDF, Word document etc immediately fails (shows the red dot). This is before the postback occurs. There are no javascript errors shown and I've tried disabling the Flash module but this didn't help as it's using Silverlight.

When a file is uploaded successfully however I also get this javascript error: Error: 'fileInfo.FileName' is null or not an object

Any ideas?

thanks
Rowan

2 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 06 Jul 2011, 09:57 AM
Hello Matt,

In order to troubleshoot this problem, please first specify which version of the controls you are using.

Additionally subscribe on the client-side OnClientFileUploadFailed method and provide us with the error message receive. In order to retrieve this message you should use the get_message method of the event arguments.

Regards,
Dimitar Terziev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Felipe Casanova
Top achievements
Rank 1
answered on 06 Jul 2011, 10:40 AM
The problem seems to have resolved itself, not sure why but thanks for the info about getting error details if it reoccurs.
Incidentally we're using version 2010.03.1214.0.
Tags
AsyncUpload
Asked by
Felipe Casanova
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Felipe Casanova
Top achievements
Rank 1
Share this question
or