I just joined a project that is using an old version of Infragistics from 2006. (6.3.20063.1074) We are using Visual Studio 2008 SP1 and there are all kinds of problems with the Infragistics controls in the current setup. This project cannot upgrade to the latest version because it would require hundreds of teams to re-deploy. The list of problems are:
1. Unable to visually see the WinGrid on the designer form, however there is an icon representation of each grid in the "control area" at the bottom of the designer.
2. Since I'm unable to see the WinGrid in the designer area I am unable to right click it and choose "UltraGrid Designer" to design a custom row layout needed for the project. Right clicking the icon in the control area shows no option for UltraGrid Designer and nor is there any such option visible in the properties window.
3. When opening a form with a WinGrid two issues occur:
1. in it the .resx file is re-written incorrectly and specifically the .Location attribute is reset to "0, 0" which is causing a major issue.
2. The designer is re-written incorrectly for the bands. The part that starts with global should not be there it should just be string.empty or "".
Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand(global::Dell.IDD.Customer.Resources.Customer.customerapplication_customerapplication_partyhistory_lblshowallnotes, -1);
Any suggestions are welcome to resolve these issues.
If the grid shows up as a component in the component tray, this is an indication that Visual Studio is unable to find the grid's Design assembly.
This could be caused by a problem with your installation of NetAdvantage - for example, if the design assembly is no properly installed in the GAC.
Or, it could be caused by setting CopyLocal on the grid assembly reference in the project to true.
Or, it could happen if your project contains mixed versions of the assemblies. If you have different versions of the Infragistics assemblies referenced in your project, for example.
Mike,
I am experiencing the same problem where the grid appears in the component tray for a WinForm project that uses 2009v1. I only see the Infragistics version 7.1 in the GAC.
I tried to reinstall 2009 v1 to see if those assemblies would get put in the GAC, but no luck. Bigger problem is I have apps that use 2007 v1 and others that use 2009 v1. If there are issues with multiple versions in the GAC, will I still have the same problem even if I am able to get the 2009 v1 assemblies in the GAC?
I appreciate any help.
Thanks,
John
Hi John,
No, there are no issues with having multiple versions in the GAC. I have 5 or 6 different versions of the controls on my machine at any given time and they all work independently.
It could be caused by having multiple versions of the assemblies referenced within the same project or within different projects in the same solution in Visual Studio. Does it work if you place a new grid on a form in a new project?
If the installed is not placing the correct version of Infragistics2.Win.v9.2.Design.dll into your GAC, then something is wrong with the install. Is the file on your machine at all?
Thank you. This resolved my issue. I am on Windows 7 and as a team we were using v10.1 and decided to finally upgrade to v11.1. My colleague only updated the references and didn't run the Version Upgrade Utility so we had multiple versions being referenced in the .RESX files.
I upgraded the project I was having problems with and the Start button was still not visible and the UltraGrid control remained in the tray. Therefore, I upgraded every single project in the solution (as the Version Utility throw an exception trying to upgrade the solution), and that worked like a charm!
I will ensure that in future we run the upgrade utility. However, I'm not sure how to assist in getting you to resolve the issue I hit when upgrading my solution; here is the contents of the log file as a starter:
09:53:57: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 09:53:57: at System.ThrowHelper.ThrowArgumentOutOfRangeException() at System.Collections.Generic.List`1.get_Item(Int32 index) at Infragistics.VersionUtilitySupport.Core.File.Types.WebSite.GetAllSiteFiles(Boolean analyze) at Infragistics.VersionUtilitySupport.Core.File.Types.WebSite.Analyze() at Infragistics.VersionUtilitySupport.Core.File.Types.SolutionFile.Analyze()