I am implementing my own File Browser Content Provider and have observed "ResolveRootDirectoryAsTree" being called for the subdirectory paths as well as my intended root (the first ViewPath). Am I misunderstanding what ResolveRootDirectoryAsTree is for?
I have my FileExplorer in a UserControl and I'm initializing it during the Init event of the UserControl.
I have my FileExplorer in a UserControl and I'm initializing it during the Init event of the UserControl.
<rad:RadFileExplorer ID="radFileExplorer" runat="server" EnableOpenFile="false" OnClientFileOpen="ClientFileOpenHandler" Width="588"></rad:RadFileExplorer> |
Private Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Init |
Dim path = String.Format("{0}/{1}", myOwnerID, myOwnerType) |
If myOwnerType = DocumentOwnerType.Employee Then |
radFileExplorer.Upload.OnClientAdded = "AddFieldsForEEDocuments" |
radFileExplorer.WindowManager.Height = 100 |
Else |
radFileExplorer.Upload.OnClientAdded = "AddFields" |
radFileExplorer.WindowManager.Height = 150 |
End If |
radFileExplorer.Upload.InitialFileInputsCount = 1 |
radFileExplorer.Upload.ControlObjectsVisibility = Telerik.Web.UI.ControlObjectsVisibility.None |
radFileExplorer.VisibleControls = _ |
Telerik.Web.UI.FileExplorer.FileExplorerControls.ContextMenus Or _ |
Telerik.Web.UI.FileExplorer.FileExplorerControls.Grid Or _ |
Telerik.Web.UI.FileExplorer.FileExplorerControls.Toolbar Or _ |
Telerik.Web.UI.FileExplorer.FileExplorerControls.TreeView |
radFileExplorer.Configuration.ContentProviderTypeName = GetType(DocumentStorageContentProvider).AssemblyQualifiedName |
radFileExplorer.Configuration.ViewPaths = New String() {path} |
End Sub |