Please contact Syncfustion related errors.(fileexplorer : ajaxaction, path)
$("#fileExplorer").
path: "http://mvc.syncfusion.
//
ajaxAction:"http://mvc.
select: "onSelect"
});
URL : http://help.syncfusion.com/js/api/ejfileexplorer
Note ajaxAction but the path from the URL above and do not understand .
It is not able to understand me ajaxAction.
I will need a specific sample of the path and ajaxaction and ajaxaction.
Hi Jiyelo,
The “path” and ‘’ajaxAction’ are the properties of our “ejFileExplorer” control.
The property, path, denotes the filesystem path to explore. Here, we have used the Web API to mention the server-side filesystem. The path for the filesystem can be physical path or relative path, but it should be relevant to where the Web API is hosted.
$("#fileExplorer").ejFileExplorer({ path: "http://mvc.syncfusion.com/ODataServices/FileBrowser/", ajaxAction:"http://mvc.syncfusion.com/OdataServices/fileExplorer/fileoperation/doJSONAction" }); |
We have prepared a sample for your requirement, and you can find the sample in the following location:
Sample: https://www.syncfusion.com/downloads/support/forum/120969/ze/file_(2)150048553
Please let us know if you have any queries.
Regards,
Balamurugan P
response [{"success":false,"errorType":0,"message":null,"page":1,"total":1,"records":0,"index":0,"id":null,"expandObj":null,"rows":[],"fileId":null,"fileURL":null,"type":null, "fileType":null,"size":"0","createDate":null,"description":null,"fileName":null,"dateModified":"1/1/2015","hasChild":false,"isFile":false,"name":"2015","memId":null}] |
Hi Jiyeol,
We have created a FileExplorer sample with Web API service. Please download the below attached WEB-API project and run it in your visual studio. Then, open the playground link http://jsplayground.syncfusion.com/ahhl2bju
Please find the WEB API project: https://www.syncfusion.com/downloads/support/directtrac/general/ze/FileExplorer_WebAPI1646645390
Please let us know if you have any queries,
Regards,
Balamurugan