This is a migrated thread and some comments may be shown as answers.

Event adding on treeview of FileExplorer

2 Answers 71 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Martial
Top achievements
Rank 1
Martial asked on 09 Jul 2012, 08:02 AM
Dear Telerik Team,

I want to add event on node click on treeview part of RadFileExplorer. I add it on page load in code behind
:
RadFileExplorer1.TreeView.OnClientNodeClicking = "RadTreeView1_NodeClick";

My test function is simple :

public void RadTreeView1_NodeClick(object o, RadTreeNodeEventArgs e)
{
     e.Node.Text = e.Node.Value;
}

When I click on node the request is send but it's abordted. In firebug I see "abordted" status for the request and after there has requests to infinity .

Regards,
Martial

2 Answers, 1 is accepted

Sort by
0
Martial
Top achievements
Rank 1
answered on 10 Jul 2012, 09:21 AM
I solved my problem. It's impossible to use the event of TreeView and Grid in RadFileExplorer.

I use the events that occur after. There are : OnClientItemSelected and OnClientFolderLoaded.
I trigger an ajax request and then processes the return in JavaScript.

Martial.
0
PJ
Top achievements
Rank 1
answered on 26 Jun 2013, 03:30 PM
Martial,

How'd you set up the OnClientItemSelected and OnClientFolderLoaded events for the RadFileExplorer? Did you add it on page load in code behind like the OnClientNodeClicking?

Can you share your code?

Thanks,
PJ

Tags
FileExplorer
Asked by
Martial
Top achievements
Rank 1
Answers by
Martial
Top achievements
Rank 1
PJ
Top achievements
Rank 1
Share this question
or