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

UploadedFilesRendering="BelowFileInput" causing cancellation issue

1 Answer 76 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Ravin
Top achievements
Rank 1
Ravin asked on 14 Nov 2013, 08:15 AM
This is possibly related to this thread: http://www.telerik.com/community/forums/aspnet-ajax/async-upload/ie8-multiplefileselection-and-uploadedfilesrendering-belowfileinput-error.aspx

When I use RadSyncUpload with UploadedFilesRendering="BelowFileInput", when I click "Cancel' in any of the files currently being uploaded, it throws a javascript error.

TypeError: p.map[(o - q)] is undefined
at "}else{delete p.map[o-q].file;"

This occurs in all browsers. I tested this when the control was working in FileAPI mode and Silverlight mode. In all the cases this error comes up. In Silverlight mode the error comes up as "System.NullReferenceException: [Arg_NullReferenceException]".

I'm also using MultipleFileSelection="Automatic" and I absolutely need multiple file selection if the browser supports it.

The error does not occur when I set UploadedFilesRendering="AboveFileInput".

Telerik version: 2012.2.607.35

Is there a workaround for this?

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 18 Nov 2013, 04:58 PM
Hi Ravin,

Yes this is the same issue. Unfortunately there is no workaround at the moment. To prevent the error throwing set the DisablePlugins property to true.

Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
AsyncUpload
Asked by
Ravin
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or