Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1775
Ultrawingrid inherited control bug??
posted

Hi guys and girls

Im experiencing an issue and i dont know if its a bug with infragistics controls or not....

I have 2 inherited controls, 1 inherited control is a ultrawingrid and the other is a normal .net contextmenu.

Ive added the contextmenu(inherited control) to the ultrawingrid(inherited control) so that when i drag the ultrawingrid (inherited control) onto my form it automatiaclly contains a contextmenu.

However there are some issues here.... when i make changes to my form the i get compile errors... the error is related to the initializecomponet of the form. it seems to keep adding a parameter to the contextmenu constructor when it doesnt accept one.

Once i remove the parameter the program compiles. how ever if i make the slightest change to the form and save it initializecomponet adds the parameter again to the contextmenu.

It keeps adding the following:

THIS-OBJECT

 

:contextMenuStrip1 = NEW System.Windows.Forms.ContextMenuStrip(THIS-OBJECT:components).

Once i remove the THIS-OBJECT:components, the program compiles fine....

Any ideas???