Hi Team,
In my application, on page initialization I have to set the default path for FileManager (It can be any nested path in the root folder depending on the selection from user). After setting the path on OnInitialized, it opens the relevant path but the breadcrumb does not show the complete path.
My path is: Home/FileStorage/Folder2
Current:
Expected:
My code:
<TelerikFileManager @ref="FileManagerRef"
Data="@FileManagerData"
Path="@DirectoryPath"
Height="400px"
NameField="Name"
PathField="Path"
ExtensionField="Extension"
IsDirectoryField="IsDirectory"
HasDirectoriesField="HasDirectories"
DirectoriesField="MyDirectories"
ItemsField="Items"
SelectedItems="@SelectedItems"
SelectedItemsChanged="@((IEnumerable<HierarchicalFileEntry> selectedFiles) => OnSelect(selectedFiles))"
OnModelInit="@OnModelInitHandler"
OnCreate="@OnCreateHandler"
PathChanged="@OnPathChanged" />
protected override void OnInitialized()
{
DirectoryPath = "Home/FileStorage/Folder2"
}