Your approach is not correct in this case. You need to build and add the custom
to a FileBrowserItem
depending on a file/folder that is stored on the server. This needs to be done manually in the FileBrowserContentProvider when an FileBrowserItem is created
. In the StoreFile
function, however, you process a new file that is uploading from the client to the server. This file does not exists in the RadFileExplorer
's items collection (it will be added later in the ResolveRootDirectoryAsTree
methods) and respectively it does not have title or description set.
The above explained is true for the ItemCommand handler when a file is uploaded.
I hope this helps.
the Telerik team