//Specify the root level directory location
string root = "z:\\folder1\\folder2\\folder3"; |
// / is consider as a root level directory, so we should specify in client side
var filemanagerInstance = new ej.filemanager.FileManager({
ajaxSettings: {
url: hostUrl + 'FileManager/FileOperations',
getImageUrl: hostUrl + 'FileManager/GetImage',
uploadUrl: hostUrl + 'FileManager/Upload',
downloadUrl: hostUrl + 'FileManager/Download'
},
view: "Details",
allowDragAndDrop: true,
path: "/folder4"
}); |