Hi
I have a master control GRID and within that I have two other controls. I have placed a context menu within the master control and have to restrict the menu in my other child controls
Please find the below code :
<radDock:RadDocking.DocumentHost>
<radDock:RadSplitContainer>
<telerik:RadContextMenu.ContextMenu>
<telerik:RadContextMenu x:Name="contextMenu">
<telerik:RadMenuItem Header="Add" x:Name="cMnuAdd">
<telerik:RadMenuItem Header="Class" x:Name="cMnuClass" Click="cMnuClass_Click"/>
<telerik:RadMenuItem Header="Association" x:Name="cMnuAssociation" Click="cMnuAssociation_Click"/>
</telerik:RadMenuItem>
</telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>
<radDock:RadPaneGroup>
<radDock:RadDocumentPane Title="Object Designer">
<radDock:RadDocumentPane.Content>
<ScrollViewer x:Name="ScrollViewer" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible">
<!-- Restrict the context menu here -->
<local:ObjectDesigner></local:ObjectDesigner>
</ScrollViewer>
</radDock:RadDocumentPane.Content>
</radDock:RadDocumentPane>
</radDock:RadPaneGroup>
</radDock:RadSplitContainer>
</radDock:RadDocking.DocumentHost>
Please let me know a solution for this. If this thread is already posted, then send me the link so that I can refer
Regards
SUNU