I have two context menus in my application.
In the Loaded event i create an instance of a usercontrol and attach one of the context menus to it.
When i later on tries to switch context menu of the usercontrol:
i get a NullReferenceException in Telerik.Windows.Controls.RadContextMenu.ClearReferences()
Any suggestions on how to fix this?
/Björn
In the Loaded event i create an instance of a usercontrol and attach one of the context menus to it.
RadContextMenu
.SetContextMenu(c, ctxView);
When i later on tries to switch context menu of the usercontrol:
RadContextMenu
.SetContextMenu(c, ctxEdit);
i get a NullReferenceException in Telerik.Windows.Controls.RadContextMenu.ClearReferences()
Any suggestions on how to fix this?
/Björn