Delete issue

First of all, when I selected file, the box is not fill as seen in the video.It say "1 item selected" but when I press delete, spinner spins forever.I shared my code and video. 


Attachment: FileMngDelete_c550fb2a.zip

3 Replies 1 reply marked as answer

IL Indhumathy Loganathan Syncfusion Team February 10, 2022 11:54 AM UTC

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 


Marked as answer

M. M.Alp replied to Indhumathy Loganathan February 10, 2022 01:13 PM UTC

It worked.Thank you very much for your help.



IL Indhumathy Loganathan Syncfusion Team February 11, 2022 05:42 AM UTC

Hi M.Alp, 
 
Thanks for the update. We are glad that your issue has been resolved. Please get back to us if you need any further assistance. 
 
Regards, 
Indhumathy L 


Loader.
Up arrow icon