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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 04:59 AM

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.

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.

;