I am getting several errors from the Visual Studio designer when attempting to open user controls containing UltraGrids. Some of the errors listed are...
The type 'Infragistics.Win.UltraWinGrid.UltraCombo'has no property named 'CharacterCasing'
Object of type 'Infragistics.Win.Apperance' cannot be converted to type 'Infragistics.Win.AppearanceBase'
The type Infragistics.Win>ultraWinGrid.UltraGridOverride' has no property named 'HeaderStyle'
These errors are all contained in the .Designer.cs files for the controls, and prevent me from using the VS designer for these controls.
I have previously seen these errors and was able to get rid of them by re-building the project and/or closing and re-opening the solution in VS. Unfortunately these errors are now persistent.
Does anyone know how to fix this?
I am using NetAdvantage 2009 v9.1
Did you just install a hot fix? If so, use the project upgrade utility to upgrade the references.
Another reason is that when you drag a grid it should add references to Win and Shared dlls, but it is not always working so add them manually. Recreate the controls tab to fix it.
I did install the hotfix, and I used the upgade utility. The references to Win, Shared, and UltraWinGrid are there. The strange thing is that the VS 2008 design screen displays the errors (giving the "To prevent possible data loss before loading the designer, the following errors must be resolved" message) so I can't see the layout of the control, but I can compile and run the form that uses the control.
If that's the case, that's probably VS problem. Close all open tabs, close your solution, delete all bin and obj folders in your solution, open the solution again and rebuild.
That fixed it. I will also check for the "LocalCopy" setting.
Thank You
I spoke too soon. Deleting obj and bin dirs did not fix the problem.
Those errors almost certainly indicate that your applicaiton has multiple copies of the same assemblies (of different versions) loaded at design-time. Check out project references carefully for all of the projects in the solution and make sure all the Infragistics assembly versions are the same and that none of them have CopyLocal set to true.
You might also check the licx files in your solution to make sure none of them are references other versions.
Thanks !
But still I am facing issue.I have done following things
But still it gives me error.Only improvement is that now when I compile the project and open the designer view then it's giving the error.
Hello,
Please remove the older Infragistics references from your .licx file content, and when the new references are needed the content of this file will be populated accordingly to the new version that you are using.
Same issue I am facing....recently we upgraded to 10.3 version.But still my licx file is pointing to older version (7.2).How to update licx file to current version?
The licx file contained a reference to an earlier version. Removing this reference fixed the problem.
Thank you.