UploadedFilesRendering="BelowFileInput" causing cancellation issue

2 posts, 0 answers
  1. Ravin
    Ravin avatar
    8 posts
    Member since:
    Dec 2012

    Posted 14 Nov 2013 Link to this post

    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?
  2. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 18 Nov 2013 Link to this post

    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.

    Hristo Valyavicharski
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top