Hi,
I am trying to use your file explorer and add some metadata to each file. Kind of simple archive.
I have attached a screenshot.
When the user select a file the meta data should be displayed on the right side.
I have problems with posting back and find the selected file to display the metadata for.
Rgds
Ole Oscar Johnsen
4 Answers, 1 is accepted
0
Ole Oscar
Top achievements
Rank 1
answered on 03 Mar 2017, 02:14 PM
I found the solution in this post.
http://www.telerik.com/forums/vista-like-file-explore
0
Hi Ole,
You can also take a look at the following demo demonstrating how to add custom attributes to the FileItems of RadFileExplorer and use this data in the Grid:
http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/applicationscenarios/customgridcolumns/defaultcs.aspx
Regards,
Vessy
Telerik by Progress
You can also take a look at the following demo demonstrating how to add custom attributes to the FileItems of RadFileExplorer and use this data in the Grid:
http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/applicationscenarios/customgridcolumns/defaultcs.aspx
Regards,
Vessy
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.
0
Ole Oscar
Top achievements
Rank 1
answered on 07 Mar 2017, 02:18 PM
Hi,
The problem with that is that demo is that it only supports what you can fit into the grid. I need more, like description(multiple languages) and so. That's the reason I need a form, instead of columns in a grid.
Rgds
Ole Oscar Johnsen
0
Hi Ole,
Indeed in the demo context we are using the added custom attributes in order to create a new column with this data (
Of course, this was only a suggestion and you can use the already found solution in case it fits your scenario better.
Kind regards,
Vessy
Telerik by Progress
Indeed in the demo context we are using the added custom attributes in order to create a new column with this data (
fileItem.Attributes.Add(
"Owner"
, ownerName)
), but you can freely access the same info through the fileitem's client object and use its value after that:$find(
"RadFileExplorer1"
).get_grid().get_masterTableView().get_selectedItems()[0].get_dataItem().Attributes.Date
Of course, this was only a suggestion and you can use the already found solution in case it fits your scenario better.
Kind regards,
Vessy
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which
deliver the business app essential building blocks - a grid component,
data visualization (charts) and form elements.