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

Different context menus for appointment and scheduleView

1 Answer 87 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
RR
Top achievements
Rank 1
RR asked on 20 Apr 2015, 09:47 AM

I want to have two context menus . one when right click on an appointment (have options such as view , copy), and  second when right click on scheduleView \(have option paste..ect)  .

currently I have added             

<telerik:RadScheduleView>    
   <telerik:RadContextMenu.ContextMenu>
         <telerik:RadContextMenu>
               ...
         </telerik:RadContextMenu>
   </telerik:RadContextMenu.ContextMenu>
</telerik:RadScheduleView>

 

Where i cannot achieve 2 diffrerent contextmenus. How can I achieve that?

Thanlk you in advance

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 22 Apr 2015, 10:51 AM
Hi,

What I can suggest you would be to check the following example from our Silverlight online demos:
http://demos.telerik.com/silverlight/#ScheduleView/ContextMenu

I demonstrates how to implement a ContextMenu and disable the not needed items.

You can also check the following example, that demonstrates how to change the MenuItems collection at run time depending on the clicked element (RadGridView is used for the example):
https://github.com/telerik/xaml-sdk/tree/master/ContextMenu/RadContextMenuForRadGridView

Hope this helps.

Regards,
Kalin
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
ScheduleView
Asked by
RR
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or