BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
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:
<div class="fileManager">
<SfFileManager TValue="FileManagerDirectoryContent" Width="100%" RootAliasName="Files" Path="/Favorites/" AllowDragAndDrop="true">
<FileManagerNavigationPaneSettings Visible="false" ></FileManagerNavigationPaneSettings>
<FileManagerAjaxSettings Url="/api/SampleData/FileOperations">
</FileManagerAjaxSettings>
</SfFileManager>
</div>
Hi Lyubo,
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.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorFileManagerSample-193666835
Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video-753403178
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.
Regards,
Prasanth Madhaiyan.
It turned out the issue was that I somehow forgot to add
@using Syncfusion.Blazor.FileManager
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.