or
Dim tab As Telerik.WinControls.UI.TabItem |
tab = radTabStrip.TabStripElement.GetItemByPoint(New Point(e.X, e.Y)) |
If tab IsNot Nothing Then |
MsgBox(tab.Name) |
End If |
'get column number |
Dim col As Int32 = Me.RadGridView1.Columns.IndexOf(Me.RadGridView1.CurrentColumn) |
'test first if valid lognumber |
If col = 0 Then |
Dim input As String = (Me.RadGridView1.ActiveEditor.Value.ToString()) |
If input = "" Then |
MsgBox("empty") |
e.Cancel = True |
Me.RadGridView1.Rows(0).IsCurrent = True |
Me.RadGridView1.Columns(0).IsCurrent = True |
Me.RadGridView1.BeginEdit() |
End If |
End If |
Thank you