I have a RadGrid where the MasterTableView has a single DetailTable. When right-clicking on a row in a DetailTable, a ContextMenu is displayed to perform various operations on the row.
I've successfully grabbed the index of the DetailTable row that was clicked on in the client-side event handler "OnRowContextMenu" and put it in a hidden field, so I can access it in the RadMenu.OnItemClick event handler. That works just fine; I can grab the value from the hidden field.
What I need to do is get a handle on the GridDataItem associated with the row, and (more importantly) the GridDataItem of the DetailTable row's parent. How do I do this? It seems like a pretty common thing someone might need to do when using the ContextMenu with RadGrid. REALLY need help on this one. Thanks.
I've successfully grabbed the index of the DetailTable row that was clicked on in the client-side event handler "OnRowContextMenu" and put it in a hidden field, so I can access it in the RadMenu.OnItemClick event handler. That works just fine; I can grab the value from the hidden field.
What I need to do is get a handle on the GridDataItem associated with the row, and (more importantly) the GridDataItem of the DetailTable row's parent. How do I do this? It seems like a pretty common thing someone might need to do when using the ContextMenu with RadGrid. REALLY need help on this one. Thanks.