Dear Telerik Team,
I have included a RadContextMenu in my RadScheduleView control, to be able to create new appointments, and other actions ...
I've noticed that, of course, the context menu appears onto the whole area of the control. Meaning: if I click the resourse header, or the view definition buttons, I can open the context menu in that point.
I would like to avoid this, and would like my context menu opened only by clicking onto an area that really represents a time span (I think it is called the AppointmentsPanel). So I've tried adding my own Command to the right-click event, where I wanted to check the UIElement at the clicked position and determine wheter to show the context menu or not, but I've found out that this was suppressing the context menu because, I thought, they were using the same event and I created a sort of conflict. I used to CommandManager to add the right-click command.
My question then is if it's possible to have both a Command bound to the right-click event, and the RadContextMenu on the same control. My approach seemed correct and I simply have to double-check if I made something wrong? Or there is some technical limitation in adding many actions to the same event? In this case would you suggest following any other way to get this working?
Many thanks!
Kind Regards,
Massimiliano Giustizieri, Italy.
I have included a RadContextMenu in my RadScheduleView control, to be able to create new appointments, and other actions ...
I've noticed that, of course, the context menu appears onto the whole area of the control. Meaning: if I click the resourse header, or the view definition buttons, I can open the context menu in that point.
I would like to avoid this, and would like my context menu opened only by clicking onto an area that really represents a time span (I think it is called the AppointmentsPanel). So I've tried adding my own Command to the right-click event, where I wanted to check the UIElement at the clicked position and determine wheter to show the context menu or not, but I've found out that this was suppressing the context menu because, I thought, they were using the same event and I created a sort of conflict. I used to CommandManager to add the right-click command.
My question then is if it's possible to have both a Command bound to the right-click event, and the RadContextMenu on the same control. My approach seemed correct and I simply have to double-check if I made something wrong? Or there is some technical limitation in adding many actions to the same event? In this case would you suggest following any other way to get this working?
Many thanks!
Kind Regards,
Massimiliano Giustizieri, Italy.