Is it possible to fetch the values of a custom field from a Javascript in a RadFileExplorer?
I have successfully implemenented a custom content provider, but I need to get the values from the custom fields
I tried the code below, but I get no results.
I have successfully implemenented a custom content provider, but I need to get the values from the custom fields
I tried the code below, but I get no results.
function
OnItemSelected(sender, args) {
var
fexplorer = $find(
"<%=FileExplorer.ClientID %>"
);
var
txtDocumentDescription = $find(
"<%=TxtActionDocumentDescription.ClientID %>"
);
// find the description from custom fields to set it
var
grid = fexplorer.get_grid();
var
gridSelectedItems = grid.get_selectedItems();
var
gridSelectedItem = gridSelectedItems[0];
var
description = gridSelectedItem.get_dataItem()[
"Description"
];
txtDocumentDescription.set_value(description);
}