Hello
Can anybody tell me how I can detect where the context menu is clicked, in particular I'm looking to detect a right click in the blank space below rows (see attached file.)
The following snippet stops the right clicking on the header, and allows right clicking on a row, but I can't seem to find out when the "whitespace" is clicked? - Any clues?
Many thanks
Terry
Private Sub RadGridView1_ContextMenuOpening(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.ContextMenuOpeningEventArgs) Handles RadGridView1.ContextMenuOpening Dim i As Integer = 0 Do While i < e.ContextMenu.Items.Count e.ContextMenu.Items.Clear() i += 1 Loop If TypeOf e.ContextMenuProvider Is GridHeaderCellElement Then Exit Sub Dim customMenuItem1 As RadMenuItem = New RadMenuItem() Dim customMenuItem2 As RadMenuItem = New RadMenuItem() Dim customMenuItem3 As RadMenuItem = New RadMenuItem() customMenuItem1.Text = "Insert Company History" customMenuItem2.Text = "Remove Company History" customMenuItem3.Text = "Add/Edit Roles..." Dim separator As RadMenuSeparatorItem = New RadMenuSeparatorItem() e.ContextMenu.Items.Add(customMenuItem1) AddHandler e.ContextMenu.Items(0).Click, AddressOf RowInsert e.ContextMenu.Items.Add(customMenuItem2) AddHandler e.ContextMenu.Items(1).Click, AddressOf RowDelete e.ContextMenu.Items.Add(separator) e.ContextMenu.Items.Add(customMenuItem3) If RadGridView1.RowCount = 0 Then e.ContextMenu.Items(0).Visibility = ElementVisibility.Visible e.ContextMenu.Items(1).Visibility = ElementVisibility.Hidden e.ContextMenu.Items(2).Visibility = ElementVisibility.Hidden End If End Subprivate void radDock1_DockStateChanged_1(object sender, DockWindowEventArgs e) { try { e.DockWindow.Text = strCaption; FillPrimitive fill = (FillPrimitive)((ToolTabStrip)e.DockWindow.DockTabStrip).CaptionElement.Children[0]; BorderPrimitive border = (BorderPrimitive)((ToolTabStrip)e.DockWindow.DockTabStrip).CaptionElement.Children[1]; fill.AutoSize = false; fill.Size = new Size(e.DockWindow.Width, 35); border.Shape = this.toproundedshape; } catch (Exception) { throw; } }Hello,
I have recently upgraded to "RadControls for WinForms Q2 2010 SP2" and since then, occasionally, I'm getting this exception:
AvlEnumerator:version mismatch
The relevant call stack is:
at Telerik.Collections.Generic.AvlTree`1.Enumerator.CheckVersion()
at Telerik.Collections.Generic.AvlTree`1.Enumerator.MoveNext()
What can be the problem? I couldn’t find documentation for it.
Thanks,

ColumnGroupsViewDefinition