I am trying to determine if the MenuItem that was clicked is a child and if so what is the parent or owner value or text. I am using the server-side event RadScheduler1_TimeSlotContextMenuItemClicking and am having difficulty getting it.
Thanks in advance
Protected Sub RadScheduler1_TimeSlotContextMenuItemClicking(ByVal sender As Object, ByVal e As Telerik.Web.UI.TimeSlotContextMenuItemClickingEventArgs) Handles RadScheduler1.TimeSlotContextMenuItemClicking |
If e.MenuItem.Value = "EnableGrouping" Then |
RadScheduler1.GroupBy = "Location" |
ElseIf e.MenuItem.Owner.??? Then |
Do Something |
End If |
UpdateScheduler() |
End Sub |
Thanks in advance