All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi,
How do I get a custom context menu to be shown when clicking in a GridView outside of a cell? For example, if there are only a few rows and I click near the bottom of the control?
void
radGridView1_MouseDown(
object
sender, MouseEventArgs e)
{
if
(e.Button == System.Windows.Forms.MouseButtons.Right)
(
this
.radGridView1.FocusedElement
is
GridTableElement)
radContextMenu1.Show(
.radGridView1.PointToScreen(e.Location));
}
See What's Next in App Development. Register for TelerikNEXT.
Great - thanks that was very helpful.
-Lou