RadTreeView Click from javascript

4 posts, 0 answers
  1. Dbi
    Dbi avatar
    1 posts
    Member since:
    Jul 2012

    Posted 02 Jul 2012 Link to this post

    hi, is there a way to simulate a treenode click event from the client side (from javascript)?

    e.g. I can do the following in the javascript on the client side:

        var treeView = $find("<%=RadTreeView1.ClientID%>");

        var selectedNode = treeView.get_selectedNode();

        alert(selectedNode.get_text());

        selectedNode.expand();


    Is there a way to fire a node click event from the javascript?

    Thanks,
    dbi
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 02 Jul 2012 Link to this post

    Hello,

    To which Telerik Team/Product are you trying to reach? This forum is exclusively for support of our Test Studio Express product. We don't do JavaScript. Should I redirect your question to our Rad Controls team?

    Regards,
    Cody
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Dbi
    Dbi avatar
    1 posts
    Member since:
    Jul 2012

    Posted 02 Jul 2012 Link to this post

    hi Cody, could you please post it to the asp.net rad controls forum.

    thanks,dbi
  4. Dbi
    Dbi avatar
    1 posts
    Member since:
    Jul 2012

    Posted 02 Jul 2012 Link to this post

    i got it:
    selectnode.select();
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!