Hello,
I need a context menu on my radgrid view, but i need it to operate on the current data context of the cell (I.e. each operation on the context menu will be on the current context of the cell (or row).
I used this code:
<telerik:RadGridView.Resources>
<ContextMenu x:Key="MyContextMenu" Opened="ContextMenu_Opened_1">
<MenuItem Header="Update Order" Click="Update_Click"/>
<MenuItem Header="Cancel Order" Click="Cancel_Click"/>
</ContextMenu>
</telerik:RadGridView.Resources>
But i didn't know how to implement Update_Click to operate on the appropriate DataContext
Thanks,
Ofer