Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
SfFileManager show directory structure, but when I click to folder to show files, I see only spinner. When I try to call /api/LogFileBrowser/FileOperations from Postman with body content
{
"Action": "read",
"Path" :"/Log"
}
, I got below response (real file list)
{
"cwd": {
"path": null,
"action": null,
"newName": null,
"names": null,
"name": "Log",
"size": 0,
"previousName": null,
"dateModified": "2022-10-12T22:48:37.4700527+02:00",
"dateCreated": "2021-05-01T18:16:18.3429597+02:00",
"hasChild": false,
"isFile": false,
"type": "",
"id": null,
"filterPath": "\\",
"filterId": null,
"parentId": null,
"targetPath": null,
"renameFiles": null,
"uploadFiles": null,
"caseSensitive": false,
"searchString": null,
"showHiddenItems": false,
"data": null,
"targetData": null,
"permission": null
},
"files": [
{
"path": null,
"action": null,
"newName": null,
"names": null,
"name": "20221008-MC.Administrator.txt",
"size": 343,
"previousName": null,
"dateModified": "2022-10-08T19:24:17.4438165+02:00",
"dateCreated": "2022-10-08T19:24:17.2427123+02:00",
"hasChild": false,
"isFile": true,
"type": ".txt",
"id": null,
"filterPath": "\\Log",
"filterId": null,
"parentId": null,
"targetPath": null,
"renameFiles": null,
"uploadFiles": null,
"caseSensitive": false,
"searchString": null,
"showHiddenItems": false,
"data": null,
"targetData": null,
"permission": null
},
{
"path": null,
"action": null,
"newName": null,
"names": null,
"name": "20221012-MC.Administrator.txt",
"size": 5381,
"previousName": null,
"dateModified": "2022-10-12T23:40:56.4679446+02:00",
"dateCreated": "2022-10-12T22:48:37.4700527+02:00",
"hasChild": false,
"isFile": true,
"type": ".txt",
"id": null,
"filterPath": "\\Log",
"filterId": null,
"parentId": null,
"targetPath": null,
"renameFiles": null,
"uploadFiles": null,
"caseSensitive": false,
"searchString": null,
"showHiddenItems": false,
"data": null,
"targetData": null,
"permission": null
}
],
"error": null,
"details": null
}
SfFileManager settings is
<SfFileManager @ref="FileManager" ID="LogFileManager" TValue="FileManagerDirectoryContent"
AllowDragAndDrop="false" ShowFileExtension="true" Height="84vh"
View="ViewType.Details" ShowThumbnail="true" AllowMultiSelection="true"
EnablePersistence="true" RootAliasName="Zapisnici"
SortBy="DateModified" SortOrder="SortOrder.Descending">
<FileManagerDetailsViewSettings ColumnResizing="true" />
<FileManagerAjaxSettings Url="@FileOperationsUrl" DownloadUrl="@DownloadUrl" GetImageUrl="@GetImageUrl"/>
<FileManagerToolbarSettings Items="@ToolbarItems"/>
<FileManagerContextMenuSettings File="@ContextItems" Folder="@ContextItems"/>
<FileManagerEvents TValue="FileManagerDirectoryContent" OnFileOpen="FileOpen"></FileManagerEvents>
</SfFileManager>
This work before. Did I need to change some settings, or this is bug?