Hello
I'm trying to simulate the click on the folder on a RadFileExplorer, i can find the node and select it (the value is passed from a combo box), on SelectedIndexChaged, but i cannot find the way to reload the content of the RadFileExplorer from javascript, there is any way to do this?
my javascript code is:
I'm trying to simulate the click on the folder on a RadFileExplorer, i can find the node and select it (the value is passed from a combo box), on SelectedIndexChaged, but i cannot find the way to reload the content of the RadFileExplorer from javascript, there is any way to do this?
my javascript code is:
function
onSelectedIndexChanged(sender, eventArgs)
{
var item = eventArgs.get_item();
var oExplorer = $find("<%=RadFileExplorer1.ClientID%>");
var oTree = oExplorer.get_tree();
if (oTree.findNodeByText(sender.get_value()))
{
var selectedNode = oTree.findNodeByText(sender.get_value());
selectedNode.select();
// Here i want to simulate the node click event...
}
else
alert(
'Folder not found');
}
Thanks in advance.