Please provide me the steps including an example to implement the context menu on right click in Rad Scheduler available in RadControls_for_Silverlight_3_2010_1_0603_DEV.
Thanks in advance.
3 Answers, 1 is accepted
Please check this how-to article:
RadScheduler > How-to add context menu
Best wishes,
Veselin Vasilev
the Telerik team
We have applied the same steps which is mentioned in your suggested article BUT context menu item is still not available on right mouse button click. Following are the steps i performed:
1) Added Windowless="true" in the following code:
<asp:Silverlight ID="Silverlight1" runat="server" Windowless="true" Source="~/ClientBin/IntuitivEMR.xap" MinimumVersion="3.0.40307.0" Width="100%" Height="100%" />
2) <param name="windowless" value="true" /> is already there in IntuitivEMR.html file.
3) Added the following code within telerikscheduler:RadScheduler
<
telerikscheduler:RadScheduler>
<telerikNavigation:RadContextMenu.ContextMenu>
<telerikNavigation:RadContextMenu ItemClick="RadContextMenu_ItemClick">
<telerikNavigation:RadMenuItem Header="Open" />
<telerikNavigation:RadMenuItem Header="Delete" />
</telerikNavigation:RadContextMenu>
</telerikNavigation:RadContextMenu.ContextMenu>
</telerikscheduler:RadScheduler>
4) Following code is already there:
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
5) Added the following code in .cs
private void RadContextMenu_ItemClick(object sender, Telerik.Windows.RadRoutedEventArgs e)
{
}
Am i missing something here? Please not that we are using Rad Scheduler available in RadControls_for_Silverlight_3_2010_1_0603_DEV.
Thanks in advance and waiting for your reply
I have failed to reproduce the issue. The right-click is easily enabled on my side. I have created a demo project with the scheduler and right-click menu enabled plus a movie that shows the key points in the project and its working.
I hope the attached solution will help you.
Greetings,
Panayot
the Telerik team