I'm having two isses with the Context Menu at the moment that I hope you can help with..
A GridView with Context Menu. The Context menu has 5 items each with an ItemTemplate that is a HierarchicalDataTemplate, bound to a ViewModel and populated via a web service.
With Icons on the top level context menu items.
If I right click immediately after the grid as loaded I consistently get a System.Windows.Markup.XamlParseException. If I wait a second or two after the grid has loaded I do not get this error.
Without Icons on the top level context menu items.
If I right click immediately after the grid as loaded it works every time.
"Add To Blueprint"
I have a RadMenu consisting of RadMenuItems, these items are built from a HierarchicalDataTemplate. I have a context meun on some of these items with icons. The icons do not show up when the Context Menu is displayed. However, if I create a “dummy” copy of the image in xmal at the bottom of the page , ie. <Image Source="….Img.png" Visibility="Collapsed"/> the icons in the context menu are displayed. As if this referace to the image makes it available to the menu where as it’s own RadMenuItem.Icon does not.
Can I also just say I love these controls and the HierarchicalDataTemplate is just wonderful. :)