We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can I change the root folder of FileExplorer at runtime by JavaScript?

Thread ID:

Created:

Updated:

Platform:

Replies:

131011 Jun 16,2017 07:42 AM UTC Jun 19,2017 08:59 AM UTC ASP.NET MVC 1
loading
Tags: FileExplorer
Justin Lee
Asked On June 16, 2017 07:42 AM UTC

How can I change the root folder of FileExplorer at runtime in JavaScript?
And I wish the component would support multiple root folders.

Karthik Ravichandran [Syncfusion]
Replied On June 19, 2017 08:59 AM UTC

Hi Justin, 
 
Thanks for contacting Syncfusion support. 
 
Query 1: How can I change the root folder of fileexplorer in runtime 
You can achieve your requirement by using the path API of ejFileExplorer.Please refer the below code block. 
 
[script] 
var obj = $("#fileExplorer").ejFileExplorer("instance"); 
obj.option("path", Path); 
 
 
For your convenience, we have attached the sample in the below link. 
 
 
Query 2:  I wish the component would support multiple root folders. 
We have addressed for this query in the incident created under your account. Please check from the following link. 
 
 
Please let us know if you need further assistance on this. 
 
Regards, 
Karthik R 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;