RadAsyncUpload with DisablePlugins="true"

Thread is closed for posting
2 posts, 0 answers
  1. kedar
    kedar avatar
    10 posts
    Member since:
    Apr 2015

    Posted 24 Apr 2015 Link to this post

     <telerik:RadAsyncUpload runat="server" DisablePlugins="true" EnableInlineProgress="false" ID="AsyncUpload1" OnClientFileUploaded="OnClientFilesUploaded"
                                    UploadedFilesRendering="BelowFileInput" MultipleFileSelection="Automatic" />

      <telerik:RadButton ID="btnUploadFiles" OnClientClicking="OnClientClicking" runat="server" Text="Upload File" />

     <script>
            function OnClientClicking(sender) {
                sender.set_autoPostBack(false);
                $telerik.$(".ruFileInput").click();
            }</script>

     

    when DisablePlugins="true" of RadAsyncUpload, we can not select multiple files on IE

    and if we remove DisablePlugins="true" of RadAsyncUpload, $telerik.$(".ruFileInput").click(); event not working...

     

     

     

     

  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 28 Apr 2015 Link to this post

    Hi kedar,

    MultiFileUploading relies on the Plugins (Silverlight and File API). If you disable them you will not be able to use this feature. 

    For IE8,IE9 control uses Silverlight plugin and it is rendered as Silverlight object. Therefore there is not (".ruFileInput").

    I don't think it is possible to simulate click with javascript on Silverlight object.
     
    Regards,
    Hristo Valyavicharski
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top