Event adding on treeview of FileExplorer

3 posts, 0 answers
  1. Martial
    Martial avatar
    4 posts
    Member since:
    May 2012

    Posted 09 Jul 2012 Link to this post

    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. Martial
    Martial avatar
    4 posts
    Member since:
    May 2012

    Posted 10 Jul 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. PJ
    PJ avatar
    5 posts
    Member since:
    Jun 2013

    Posted 26 Jun 2013 Link to this post

    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

Back to Top