Hi Sagar,
We have analyzed your query (“How to refresh Tree or Remove/Change Current Folder Selection”). We suspect that, the reported issue occurs due to handle the deletion and refresh operions in same Folder Location. So please use the below code snippet to resolve this issue.
[Script] $.ajax({ url: '@Url.Action("Remove", "FileExplorer")', type: "POST", dataType: "json", data: { Name: value, path: args.path }, success: function (data) { var fileObj = $("#fileexplorer").ejFileExplorer("instance"); fileObj.option("selectedFolder", data); //Pass the parent folder fileObj.refresh(); } }); |
For your requirement, we have prepared simple sample, it can be downloaded in below location.
Please let us know, if you have any other concerns,
Regards,
Ashokkumar B.