Hi M.Alp,
Greetings from Syncfusion support.
We have prepared a sample with your shared code snippets and are able to reproduce the issue. The root folder has not been set up properly in the File Manager due to the fact that file selection is not working properly on your end. Check the modified code below.
|
[Route("FileOperations")]
public object FileOperations([FromBody] FileManagerDirectoryContent1 args)
{
StoreId = args.CustomData["id"].ToString();
CustomPath = args.CustomData["path"].ToString();
rootPath = this.basePath + "\\" + this.root + "\\" + CustomPath + "\\" + StoreId+"\\";
//Set the root folder for File Manager component.
this.operation.RootFolder(rootPath); |
Please find the working sample from below link.
Check the sample and get back to us if you need any further assistance.
Regards,
Indhumathy L