I am trying to get a File Manager component to display in multiple razor pages, but for some reason it only displays in the AllFiles.razor page. For now I have exactly the same logic applied to all the pages. Any ideas why that is happening and how I should fix it?
Declaring the file manager the exact same way in all razor pages:
<SfFileManager TValue="FileManagerDirectoryContent" Width="100%" RootAliasName="Files" Path="/Favorites/" AllowDragAndDrop="true">
<FileManagerNavigationPaneSettings Visible="false" ></FileManagerNavigationPaneSettings>
Greetings from Syncfusion support.
We have validated your reported query in the Blazor FileManager with Physical Provider sample. We understand that you are trying to render the File Manager component to display in multiple Razor pages. We have ensured both cases below, but we were unable to replicate the reported issue on our end.
For your reference, we have attached the sample and video.
Check out the shared sample to see if you have made any sample-level or CSS-level customizations on your end. If the issue still persists, could you please replicate the issue in the shared sample or share the details to replicate the issue in our end? This will help us to check and provide a prompt solution.
It turned out the issue was that I somehow forgot to add
to all the razor pages individually. Thanks for the support tho!
Lyubo, We are glad to hear that your reported query has been resolved. Please get back to us if you need any further assistance.