I need to get parent node text to pass it as a variable in my contextmenu items. Could you please tell me how to get this kind of functionality.
3 Answers, 1 is accepted
answered on 03 May 2010, 08:51 AM
The code you use is correct :
varparentNode = node.get_parent();
vartext = parentNode.get_text();
With this you can get the text of the parent of the current node for which contextMenuItem is clicked.
Could you explain in detail what are you trying to achieve?
All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.