This is a migrated thread and some comments may be shown as answers.

Hide or Restrict to open Context Menu for ReadOnly Slots.

2 Answers 39 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Pushpendra
Top achievements
Rank 1
Pushpendra asked on 07 Jan 2013, 10:58 AM
Hi,

My ScheduleView contains Special ReadOnly Slots as well as Context Menu. I want to hide the ContextMenu if the user is trying to open ContextMenu from any ReadOnly slot. The issue I am facing is that I am unable to get the Slot from which user is trying to open the ContextMenu. The SelectedSlot property either holds null or the Slot that I have selected earlier using Left Click.
Please suggest how can I restrict to open or hide ContextMenu for ReadOnly Slots.

Thanks,
Pushpendra

2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 14 Jan 2013, 08:52 AM
Hello Pushpendra,

I am afraid that there is no easy way to detect whether the context menu is opened for read-only slot. However, we will research in more details this scenario and will write again if we find a solution.

Greetings,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Pushpendra
Top achievements
Rank 1
answered on 14 Jan 2013, 09:01 AM
Hi Yana,

Thanks for the reply. I think it is a very basic requirement which should be provided by Telerik Control, anyway please let me know in case you find any solution for this.

Thanks,
Pushpendra
Tags
ScheduleView
Asked by
Pushpendra
Top achievements
Rank 1
Answers by
Yana
Telerik team
Pushpendra
Top achievements
Rank 1
Share this question
or