This question is locked. New answers and comments are not allowed.
Hi,
We tried to inherit the FileBrowserContentProvider on a sharepoint webpart but it seems it doesnt work. We tried to call the ResolveRootDirectoryAsTree method. Here is a our sample code:
public
CustomContentProvider(HttpContext context, string[] searchPatterns, string[] viewPaths, string[] uploadPaths, string[] deletePaths, string selectedUrl, string selectedItemTag)
:
base(context, searchPatterns, viewPaths, uploadPaths, deletePaths, selectedUrl, selectedItemTag)
{
foreach (string strPath in viewPaths)
{
ResolveRootDirectoryAsTree(strPath);
}
}
We will appreciate for some ideas you can provide to us. Thanks.