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

TreeNode.Click

3 Answers 182 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
miguel
Top achievements
Rank 1
miguel asked on 15 Aug 2007, 08:08 AM
Hi All,

Sorry to come across stupid, but I can't find a way to register an event with a TreeView TreeNode. How do I get the node to do something when I click on it?
I figure this MUST be very simple, but cannot find it referenced anywhere in the documenation (Telerik --> RadTreeView --> working with nodes).

I am evaluating the Rad Controls for a project and would like to know if it is possible to fire an event by clicking on a node in tree view.

Thank you in advance.

Miguel de Sousa

3 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 15 Aug 2007, 09:12 AM
Hello miguel,

Thank you for your interest in RadControls for WinForms.

To make a node respond to a click you should handle the NodeMouseDown or NodeMouseUp events of RadTreeView. This should be straight forward to do. In case you experience troubles, please write back and let us know if you need a code example.
 

Regards,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
miguel
Top achievements
Rank 1
answered on 16 Aug 2007, 08:57 AM
G'day Jordan,

Brilliant! Couldn't be simpler :)

Thank you very much for you prompt and helpful reply.
I have been very impressed with the way I can integrate Rad controls within the CAB application I'm currently prototyping.
Look forward to Management buying them for me.

Cheers,
Miguel
0
Jordan
Telerik team
answered on 16 Aug 2007, 04:42 PM
Hi miguel,

We are glad to hear that you like RadControls for WinForms. If you are interested we can send you the beta of our CAB Enabling Kit next week :)

Again, thank you for your interest in RadControls for WinForms.

 
Regards,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Treeview
Asked by
miguel
Top achievements
Rank 1
Answers by
Jordan
Telerik team
miguel
Top achievements
Rank 1
Share this question
or