Hello,
my Environment: VS 2010 Prof. SP1, Win 7 Ultimate 64 Bit, Netadvantage 2011.1
I try to place an ultra grid (from the Data Source/Dataset/DataTable pannel of VS) in an Ultra Tile and get the error 'The anchor property is not valid on the ultra tile'. But there is no such prop on Ultra tile and on the Ultra Tile Pannel, i try all combinations; allways the same error.
As work around i place an ultra grid from the toolbox in the Ultra Tile with no error.
Any idea ??
Patric,
I'm afraid I don't understand what you are doing. Ordinarily you would drag the UltraGrid from the toolbox to put it on a Form or into another control. I don't understand what you mean when you say to place an ultra grid "(from the Data Source/Dataset/DataTable pannel of VS)".
Can you explain?
Michael S.
Hello Michael,
i insert some screenshoots of the problem in a word document and try to upload it.
Hi,
This issue does not appear to have anything to do with the WinGrid. I can get the same results dropping the default control (DataGridView) onto an UltraPanel.
What's happening here is that when you drop the DataSource onto any container, the designer tries to help you out by increasing the Size of the container so that the default size of the control fits.
But the UltraPanel consists of a couple of nested controls, and the inner controls should never have their Size property set, because the Size of the inner control is controlled exclusively by the outer control.
We will fix this so that the Size property is no longer settable, and therefore does not raise an exception. But you can easily work around this issue by dropping the DataSource onto the form or any other container. And then after all the components and controls are created, just move the DataGridView or the WinGrid into the panel then.
Hi Patric,
UltraPanel is a container, just like the inbox Panel control, but with better support for Appearances and other features you would expect from Infragistics controls.
UltraDockManager allows your users to dock, move, and float controls around the application like you can do in Visual Studio.
GridBagLayoutPanel is like the inbox Panel, but it uses GridBagLayout settings to automatically layout the controls for you.
Which container(s) you use in your applicaiton depend on the needs of your application. Since I don't know anything about your application, I can't suggest which control(s) would be best.
Hello Mike,
thank's for the tip, i will try it next time. As i understand, the UltraPannel is a container, to place several components inside and then place different pannels on different position on a window (a kind of part window to group things together).
Is this the correct usage or do you suggest to use windows dock manager or grid bag layout to place several groups of input controls on a window?
thanks
Patric