Hi,
I have a windows forms project that uses Infragistics UltratoolbarsManager on a derived usercontrol. Recently we have upgraded the projects from Infragistics 10.2 to 10.3. After upgrade, when i open the UserControl desginer, the "Customize" option is missing in the right click menu and property grid for UltraToolbarsManager. Inplace designer is also not working.
Everything works fine if I create a new sample project.
I have tried removing the control and added a new control; but that didn't help. Currently the DockWithinContainer property is set to the UserControl itself.But I tried changing it to one of the Panels (docked fill) on the UserControl. But that too gives an error, "Property not valid - Object reference not set to an instance of an object."
Please help me.
Thanks in advance.
This is probably an indication that Visual Studio is unable to find the Design assembly which provides the design-time functionality for the UltraToolbarsManager.
If this is working when you put a ToolbarsManager on a form in a new project, then there must be something in your existing project which is causing the confusion.
When you upgrading your project, did you use the Infragistics Project upgrade utility? If not the your project might still be referencing the older version of the assemblies. Check the licenses.licx file of your project and make sure there's nothing in there referencing the 10.2 components.
Also, make sure you application does not reference any version of Infragistics2.Win.vXX.X.Design.dll.
This assembly should only be in the GAC on the machine, and should never be referenced by the project or solution directly.
Thanks for your reply. But I have already verified throughout the project that the project is no more referring to any of the older DLL versions. Also the Design dll you have mentioned is also not referred anywhere.
One thing I noticed is, when I remove all the Infragistics references and controls, re-add them from the toolbox, build the project and open the designer again, I'm able to see the customize working. That too not very consistent. If I add another reference later and open the desinger again, "Customize" is gone.
This behaves very strangely. I understand that the problem is with the references. But is there any procedure with which I can narrow down to the exact problem ? Please help me.