Hi,
We are currently trying out an implementation where an authorized user can access files and folders of different client users. Here's how the proposed folder structure currently looks like.
- Root uploads folder
- Client1
- C1_Folder1
- C1_Folder2
- C1_Folder3
- Client2
- C2_Folder1
- C2_Folder2
- C2_Folder3
The authorized user can then access the client folders and files by selecting a client folder from a dropdown. When the page loads, since the user has not selected a client folder yet, I have set it to the first client on the list (Client1). Client1's folder and files will be displayed during the initial load of the page and file manager. Here's a screenshot of how it looks like on initial load.
However, after switching the root folder of the File Manager from Client1 to Client2, through the aforementioned dropdown selection, I noticed a couple of items. Here's the screen after switching client folder from Client1 to Client2.
1. Folders in tree view for Client2 is not displayed. Is there a way to display Client2's folders in tree view after changing the File Manager root folder to Client2's folder?
2. When trying to expand the tree view of Client2, the File Manager has been set in an infinite loading state. None of the elements of the File Manager can be clicked. Screenshot below. I think this is very much related to item number 1.
3. Check the label under the Refresh button from the toolbar. We are in Client2 folder but the label of the breadcrumb element still says Client1. I think this may be a bug.
An additional query unrelated to the above issues:
1. If you will check the provided code FileTest.razor, under the OnClientChange method, I am creating a new BeforeSendEventArgs to be passed into the OnSend method. I am curious as to what is the official way to get the existing File Manager's FileManagerAjaxSettings as the FileManager.AjaxSettings property is already deprecated.
Hope you can help me again on my queries.
Best regards,
Attachment:
FileManagerTest_3ad4b01c.zip