I realize that you dont support 7.1 anymore, however we just learned of this and are sttempting to upgrade our 7.1 applications to 9.1.
I am working with a WinGrid and after running the update utility, I am experiencing errors with the Appearance. Here are some examples of my errors:
Dim Appearance1 As Infragistics.Win.Appearance = New Infragistics.Win.Appearance
Me.UltraGrid1.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid Appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical
Me .UltraGrid1.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted Me.UltraGrid1.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted
Appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter
Appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element
Appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal
Me.UltraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand
Me.UltraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.[False]
Appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical
Me.UltraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.[True]
Any assistance on these errors or the way to handle these items in 9.1 would be much appreciated. I realize that all these errors appear in auto-generated code, so perhaps the features arent available or are slightly different in the 9.1 version.
Thanks - Brandy
I had this problem when I upgraded from 7.3 to 9.1 I tried all 9 Workarounds in the KB09687 to no avail. The VS2008 designer simply would not open a form that had user controls on it. We had upgraded from VS2003 to VS2005 and then to VS2008 (Infragistics 7.3)
Workaround 10
So my solution was to create a brand new project in VS2008 and copy all my files over to the new folder structure. Then I "included in project" all those original files, set all the new 9.1 references and the VS2008 designer was now happy. It seems the VS2008 designer does not like it when you follow upgrade migration paths form 2005 to 2008 but creating a new project makes the designer happy.
Now I plan to extract all my "Windows Form Designer generated code" from original forms into partial .Designer.vb classes.
I found the Missing Reference.
Thanks!!
The following article from our online Knowledge Base may be of help. Although it's referring to a different error message, the issue that this article refers to also applies to Appearance objects. The article also includes all the solutions for that issue known to date. It was originally written referring to Visual Studio 2005, and may also apply if you're using Visual Studio 2008.
PRB: VS2005 - Object of type 'Infragistics.Win.Appearance' cannot be converted to type 'Infragistics.Win.AppearanceBase'
I ran the update utility.. what else should i do to get the controls to update without losing code..
Is there some change to the Infragistics.win.appearance in 9.1 that needs to be changed in the code?
Thanks, Brandy
That sounds to me like you are missing project references or perhaps they are mixed versions.