I am using SfSchedule control for calendar views. I can’t differentiate between the context menu popping up if I click on "All day" row or "12PM" row. Because from ContextMenuOpening
event I get back only
currentSelectedDate from ContextMenuOpeningEventArgs paramete. But it will be 12PM for a click from "All day" event row also. So I am not able to make the difference, when is all day row clicked and when is
12PM row clicked!? Let me know whether there is a way for me to differentiate between these two cases. Thanks in advance!
VRVigneshkumar Ramasamy Syncfusion Team July 27, 2015 10:04 AM UTC
for using Syncfusion product.
of now we don’t have any direct support to differentiate the ContextMenuOpening
parameters when clicking in AllDay location .But your requirement can be
achieved by using CurrentEventArgs parameter in the ContextMenuOpening event
.Please find the below code snippet.