Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » ContextMenu bug report Collapse All
Subject Author Date
Geoff Barcalow Mar 26, 2012 - 2:33 PM

Add a ContextMenu to a UserControl, create a new UserControl that inherits the first and you get an error in the designer.

VS.Net 2010 , .NET Framework 2.0, Platform: Active (x86), Platform target: x86

Object reference not set to an instance of an object.

Instances of this error (1)

at Elegant.Ui.ContextMenuDesignerHelper..ctor(ContextMenu contextMenu)
at Elegant.Ui.ContextMenu.set_Site(ISite value)
at System.ComponentModel.Container.Add(IComponent component, String name)
at System.ComponentModel.Container.Add(IComponent component)
at Elegant.Ui.ContextMenu..ctor(IContainer container)
at Tpsc.Csrt.Controls.ItemListBase.InitializeComponent() in C:\Users\e1120\documents\visual studio 2010\Projects\TpscCsrt\TpscCsrtControls\ItemListBase.Designer.cs:line 37
at Tpsc.Csrt.Controls.ItemListBase..ctor() in C:\Users\e1120\documents\visual studio 2010\Projects\TpscCsrt\TpscCsrtControls\ItemListBase.cs:line 15