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

RadAsyncUpload with DisablePlugins="true"

1 Answer 59 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
KeDaR
Top achievements
Rank 1
KeDaR asked on 24 Apr 2015, 12:15 PM

 <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...

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 28 Apr 2015, 11:49 AM
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.

 
Tags
Upload (Obsolete)
Asked by
KeDaR
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or