I'm trying to use Infragistic's ultragrid control. When I drag the control on the form it shows at the bottom(where controls with no look appear). And it is not visible in on the form. I'm using infragistics 6.1
Hi,
If the grid shows up in the component tray, it's an indication that something went wrong during the install process.
Did you install the assemblies using the Infragistics NetAdvantage installer? If you just copied the assemblies to the machine without the installer, then that would cause the problem you describe.
This problem occurs when Visual Studio cannot find the designer assembly for the grid. So you might want to check the Assembly folder on your machine and make sure it includes the Infragistics Design assembly. I think it's called Infragistics2.Win.v6.1.Design.
If it's not there, you could try uninstalling and reinstalling NetAdvantage.
I had the same problem when using source controlled infragistics assemblies. I installed the same version of NetAdvantage as the sourced assemblies' version but the installer automatically installed an update (newer version) which conflicted with the sourced assemblies (the sourced assemblies were being referenced properly but the designer assembly was a newer version). I resolved this problem by uninstalling the update in Programs And Features -> View Installed Updates (Windows 7).
Hope this helps anyone with a similar problem.
hey everyone, i know this is an old thread but i am having a similar problem. Can anyone help?
i added the designer dll to my project, closed and reopened vstudio, all files etc. still nothing
big problem is that i cannot even see the grid when binding to it at run time, i can debug and see the datasource is populated, dock=full but the form is empty.
i would rather not go through a full reinstall cause id have to involve tech support and rebuild all my projects.
anyone have any idea why the grid isn't visible at all?
thanks for any help you provide
Al Maiz said:i added the designer dll to my project
This is nothing to do with the problem you are having, but you should NOT add the design dll to your application.
Anyway... there's nothing special about the WinGrid in terms of visibility. Are you sure the grid is not visible at all? Or are saying the grid is there, but it just shows no data.
Try setting the BackColor on the grid to some really bright contrasting color like red.
Try checking the grid.Visible property and grid.Bounds at run-time (maybe it's being moved off-screen).
Also, make sure you are using UltraGrid and not UltraDropDown.
thanks Mike. i took out the design dll, don't know what i was thinking there. i was looking for visible & dock properties in the designer cs file and they were fine. But luckily it was a very small form and i found what caused the issue.
i had to literally add this stmt to form designer. this.Controls.add(mygrid);
immediately was visible in the designer and when i ran the app.
thanks!
I'm a little confused. It wasn't clear to me from your previous post that the grid wasn't even showing up at design-time. If it's not there at design-time or run-time, then how exactly are you creating the form in the first place?
It sounds like either your grid is being created in code and never added to the form. Or else the grid is inside some container (like a panel) that is being made invisible or hidden somehow. So then the new code you added is re-parenting it to the form.