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

OnClientShowing question

2 Answers 58 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
André
Top achievements
Rank 1
André asked on 21 Jul 2008, 07:22 PM
The online doc mentions that the client side "showing" event provides the node clicked using get_node() on the event args. I'm using version 2008.1.619.35 of the dll and I don't see get_node() when I use Firebug.

Is it coming up in the new version or is the documentation wrong? I really need this feature.

Thanks

2 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 23 Jul 2008, 08:55 AM
Hello André,

Do you reference this help article: OnClientContextMenuShowing?

It does provide the reference to the clicked node via the get_node() method of the event arguments.

Can you tell us in what scenario you cannot see the get_node() method?

All the best,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
André
Top achievements
Rank 1
answered on 24 Jul 2008, 04:31 PM
I figured out the issue. I had set a handler on the showing event of the context menu instead of the contextMenuShowing event of the tree.

Now I get my node :)
Tags
TreeView
Asked by
André
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
André
Top achievements
Rank 1
Share this question
or