If you catch the Popup event from the contextmenu you can see which control
it is attached to: ((ContextMenu)sender).SourceControl
If you are asking a different question then please post a small repro and
elaborate/rephrase your question...
Cheers
Daniel
--
http://www.danielmoth.com/Blog/
"Jay" <(E-Mail Removed)> wrote in message
news:3679C717-18B4-4074-B06F-(E-Mail Removed)...
> Hi,
> I have a dynamic array of checkboxes with control tag and a contextmenu
> whose
> menu items are "Increase","Decrease" with click events. Every check box
> in
> the array has the same context menu. When I tap and hold on a check box,
> the
> context menu pops up. Now I would like to know which checkbox fires the
> contextmenu, so that I can find the tag of the checkbox when the user
> choose
> the menu item "Increase' Or "Decrease". If any one knows the solution,
> please
> help me.
>
> Thanks!!
>