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

MenuItem Icon Disappears

1 Answer 131 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
Gregory
Top achievements
Rank 1
Gregory asked on 17 Aug 2011, 09:04 PM
I'm not sure whether this should be posted in the RadTreeView forum, the RadDocking forum or in this forum, but here goes...

I have a RadTreeView control that lives inside a RadDocking pane. The treeview has a RadContextMenu associated with it, and if I right-click on a TreeViewItem while the rad pane is floating, the icons in the context menu disappear. Here is the markup that I am using for the TreeView:

<telerik:RadTreeView x:Name="tvProjectNav" Padding="0 0 10 0"
                            Background="White"
                            SelectionMode="Single"
                            ItemPrepared="TvProjectNavItemPrepared"
                            MouseDoubleClick="TvProjectNavMouseDoubleClick"
                            ExpanderStyle="{StaticResource Expander}"
                            telerik:TreeViewPanel.IsVirtualizing="True"
                            IsEditable="False">


                            <telerik:RadTreeViewItem
                                Header="{StaticResource navDiagramRootNodeText}"
                                ItemsSource="{Binding Source={StaticResource ProjectProvider},Path=Diagrams,UpdateSourceTrigger=PropertyChanged}"
                                ItemTemplate="{StaticResource DiagramItemTemplate}"/>


                            <telerik:RadTreeViewItem
                                Header="{StaticResource navTrendGroupsRootNodeText}"
                                ItemsSource="{Binding Source={StaticResource ProjectProvider},Path=TrendGroups,UpdateSourceTrigger=PropertyChanged}"
                                ItemTemplate="{StaticResource TrendGroupItemTemplate}" />


                            <telerik:RadContextMenu.ContextMenu>
                                <telerik:RadContextMenu x:Name="navContextMenu"
                                    Opened="NavContextMenuOpened"
                                    ItemClick="NavContextMenuItemClick"
                                    ItemTemplate="{StaticResource contextMenuItemTemplate}"/>
                            </telerik:RadContextMenu.ContextMenu>
                            
                           
                        </telerik:RadTreeView>

Can anyone tell me why the images disappear when the pane is floating?

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 22 Aug 2011, 01:37 PM
Hello Gregory,

I tried to reproduce the issue, but to no avail. Could you please give us some more details how to reproduce the issue? Sending us a sample project will be really helpful for tracking down the source of the issue.

Looking forward to your reply.

Kind regards,
Konstantina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
ContextMenu
Asked by
Gregory
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or