We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

File Manager component displays only in one page

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>