Hi,
I'm now trying to display some xml content in FileExplorer using my own FileBrowserContentProvider. Actually, I'm developing ascx over FileExplorer to display different types of Xml in there. But I don't see how to specify Xml file name for the provider.
I tried to use ViewPath property of FileExplorer.Configuration like this: D:\PathToMyXmlFile\XmlFileName.xml/XPath. It works, I mean inside provider I can parse it and build tree properly, but the whole path is displayed in address field, that is pretty much inconsistent.
I would like to pass Xml filename and XPath to the provider, but since it's created internally, there's no way to pass any other information in there besides FileExplorer.Configuration, but the configuration lacks custom fields. I guess I can use DeletePaths property for that, since security is provided by the provider anyway, but it's quite inconvinient.
In addition... Probably I'm missing something, but... I set RadFileExplorer.EnableCreateNewFolder to true, my provider returns true in CanCreateDirectory, but I don't see the new folder button...
Cheerz,
Bob
I'm now trying to display some xml content in FileExplorer using my own FileBrowserContentProvider. Actually, I'm developing ascx over FileExplorer to display different types of Xml in there. But I don't see how to specify Xml file name for the provider.
I tried to use ViewPath property of FileExplorer.Configuration like this: D:\PathToMyXmlFile\XmlFileName.xml/XPath. It works, I mean inside provider I can parse it and build tree properly, but the whole path is displayed in address field, that is pretty much inconsistent.
I would like to pass Xml filename and XPath to the provider, but since it's created internally, there's no way to pass any other information in there besides FileExplorer.Configuration, but the configuration lacks custom fields. I guess I can use DeletePaths property for that, since security is provided by the provider anyway, but it's quite inconvinient.
In addition... Probably I'm missing something, but... I set RadFileExplorer.EnableCreateNewFolder to true, my provider returns true in CanCreateDirectory, but I don't see the new folder button...
Cheerz,
Bob