In my RadGridView I capture the DropDownOpening events to pop up my own context menu like this:
One of the columns in the grid contains self references added like this
this
.ContextMenuGrid.DropDownOpening +=
new
System.ComponentModel.CancelEventHandler (
this
.ContextMenuGrid_DropDownOpening);
One of the columns in the grid contains self references added like this
radGridView1.Relations.AddSelfReference(radGridView1.MasterTemplate,
"Id"
,
"AktivitetRef"
);
So, I get plus icons in the cells where references are available. When the cells containing the plus icon are right clicked, the event is triggered and I generate the context menu I want, but when other cells in that column are right clicked, the event is not triggered and a default context menu is displayed.
Why is the event not triggered? Any idea?