Table of Contents
ContextItem Property

Returns a GridItem object that has displayed a context menu and subsequently the context menu triggered a server event.

Syntax
 public GridItem ContextItem { get; }
Remarks

When you use ClientSideOnContextMenu to display a context menu for a grid item and the context menu's RaisesServerEvent is set to true, it is often desired to know which item was the node that the context menu acted upon when you handle the context menu's ItemClick event on the server side. Use this property to get that item.

This property is cleared when the Grid is repopulated.

See Also