Hello, Mike,
Thank you for reporting this.
Please use the following workaround until we introduce an official fix for it:
//register the custom row behavior
BaseGridBehavior gridBehavior = RadGridView1.GridBehavior as BaseGridBehavior;
gridBehavior.UnregisterBehavior(typeof(GridViewTableHeaderRowInfo));
gridBehavior.RegisterBehavior(typeof(GridViewTableHeaderRowInfo), new CustomGridHeaderRowBehavior());
public class CustomGridHeaderRowBehavior : GridHeaderRowBehavior
{
public override bool OnMouseDown(MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
{
GridCellElement cell = this.RootGridBehavior.CellAtPoint as GridCellElement;
if (cell != null)
{
if (cell.ViewTemplate != cell.MasterTemplate)
{
// Cell is on the child template
return true;
}
}
}
return base.OnMouseDown(e);
}
}Regards,
Nadya | Tech Support Engineer
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.