Hi,
I am dynamically creating some labels with a contextmenu associated with them and I am having few menuitems also in the context menu. The context menu will be called when a label right-clicked( or clicked-hold) I have written an evenhandler to be called when a menu item is clicked. Once the eventhandler is called I want to get the text of the label from which the menu was invoked. Any idea how to get it?
For example
Let the label be "LABEL"
LABEL ----(RightClick)------>CONTEXT-MENU----(ItemClick)------>Event(I want to get the LABEL.text in this event)
-anoop