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

RadTreeView Click from javascript

3 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dbi
Top achievements
Rank 1
Dbi asked on 02 Jul 2012, 05:03 PM
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

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 02 Jul 2012, 06:03 PM
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
0
Dbi
Top achievements
Rank 1
answered on 02 Jul 2012, 06:26 PM
hi Cody, could you please post it to the asp.net rad controls forum.

thanks,dbi
0
Dbi
Top achievements
Rank 1
answered on 02 Jul 2012, 07:21 PM
i got it:
selectnode.select();
Tags
General Discussions
Asked by
Dbi
Top achievements
Rank 1
Answers by
Cody
Telerik team
Dbi
Top achievements
Rank 1
Share this question
or