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.
ProtectedSub RadScheduler1_TimeSlotContextMenuItemClicking(ByVal sender AsObject, ByVal e As Telerik.Web.UI.TimeSlotContextMenuItemClickingEventArgs) Handles RadScheduler1.TimeSlotContextMenuItemClicking
If e.MenuItem.Value = "EnableGrouping"Then
RadScheduler1.GroupBy = "Location"
ElseIf e.MenuItem.Owner.??? Then
Thanks in advance
1 Answer, 1 is accepted
answered on 17 May 2010, 12:27 PM
Please, try the following code and let us know if you have further questions:
ProtectedSubRadScheduler1_TimeSlotContextMenuItemClicking(sender AsObject, e AsTimeSlotContextMenuItemClickingEventArgs)
Response.Write("And its parent item's value is: "+ parentItem.Value)
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.