Hi,
Please can anyone help with a problem I'm experiencing with the UltraGrid?
When I drop an UltrGrid onto a WinForm the control appears at the bottom of the form (in the area where you'd expect to see ToolStrip or BindingSource controls), the Grid itself is not displayed on the actual form design area.
When I look at the code generated in the designer it is....
Private Sub InitializeComponent() Me.UltraGrid1 = New Infragistics.Win.UltraWinGrid.UltraGrid CType(Me.UltraGrid1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() ' 'UltraGrid1 ' Me.UltraGrid1.Location = New System.Drawing.Point(0, 0) Me.UltraGrid1.Name = "UltraGrid1" Me.UltraGrid1.TabIndex = 0 ' 'Form1 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(284, 262) Me.Name = "Form1" Me.Text = "Form1" CType(Me.UltraGrid1, System.ComponentModel.ISupportInitialize).EndInit() Me.ResumeLayout(False)
End SubFriend WithEvents UltraGrid1 As Infragistics.Win.UltraWinGrid.UltraGrid
I noticed that the line Me.Controls.Add(Me.UltraGrid1) was missing and I added it in. This caused the Grid to appear on the form but it still wasn't right as it can't be selected or moved etc. Even when I right click on grid, the popup menu is missing items such as the UltraGrid Designer, Layout Wizard etc..
To confuse matters further, other colleagues working on the same project do not have any problem and this would imply it's my setup rather than the project. However, if I create a new project then I can add grids to forms without any issue.
I'm using version 8.3.20083.2102 of the UltraWinGrid.
Thanks,
Paul
After much frustration, I figured out the problem was related to the versions.
Our application was directly referencing 12.1.20121.2075 DLLs in a project folder and I had 12.1.20121.2082 installed on my machine. Apparently, Visual Studio 2010 was using the installed version for the designer. Since they didn't match, the designer was not displaying anything. Once I updated the reference files, everything worked out great.
Thanks for your help Dimi.
Hi Miker55,
The problem you are describing is slightly different as you mentioned that you upgraded and you don’t see any longer the designer of the grid. Wherewer I am not sure what do you mean by “new forms – newly created with 12.1? ” Can you please double check that you have deleted the continent of the license file while all the forms are closed. Note that you don’t need to remove any of the versions and if you have to upgrade to 12.1 you should be sure you are updating all of the references in your project and they point to the same location and version. Also when you create the new forms see which version of the components did you use, did you have multiple versions of the Infragistics dlls in to your project?
I hope this helps.
I recently upgraded from v10.1 to v12.1 and am unable to see the grid in the designer for new forms and can not selected the grid on old forms (it appears normally except w/o the "Start" button to configure).
I have uninstalled and re-installed everything except v10.1, and used the toolbox utility to no avail. This actually happening with any Infragistics control I try.
*EDIT* More info: we are inheriting the controls in another project. The functionality I'm experiencing is the same in that project.
-Mike
I know this is a tad old now but we ran into this exact issue when we upgraded to Win 7 and VS2010 at nearly the same time...Using version 11.1 - uninstalling and re-installing did the trick for me...
Mike/Dimi,
Thanks for your help!
I've reinstalled NetAdvantage and run the Toolbox Utility as you have both suggested and it all appears to be working fine now.
Thanks again for your help and advice.