Hello,I've upgraded to the latest release of win form controls (13.1 (from 8.3), I'm not sure exactly which version as I no longer see the assemblies in the GAC).Having been through our system looking for potential issues, I've noticed that all of the ToolStrip controls in our application doesn't appear to be hosting infragistic controls correctly, in particular the UltraCombo control.In the sample below, you can see that the first control, an UltraLable, isn't hosted without issue, but then the next control, an UltraCombo control, overflows off the screen, this is the issue.You can download a sample showing the issue here:http://www.andrewburrow.net/SharedFiles/Download.aspx?pageid=40&mid=83&fileid=539or by either browsing to http://www.andrewburrow.net/public-files.aspx, selecting the Infragistic Samples folder and selecting to download ToolStrip.zip.System Information: Visual Studio 2010, .net 4.0, Infragistics 13.1, x64 Application, Windows 7 x64Source code is simply doing this (ultraCombo1 has just been dropped on to the form in designer where I've set the visible property to false, along with a .Net 4 ToolStrip control):
private void Form1_Load(object sender, EventArgs e) { ToolStripLabel label1 = new ToolStripLabel("1"); ToolStripLabel label2 = new ToolStripLabel("2"); ToolStripLabel label3 = new ToolStripLabel("3"); toolStrip1.Items.Add(label1); toolStrip1.Items.Add(label2); toolStrip1.Items.Add(label3); ToolStripControlHost tradeHost = new ToolStripControlHost(ultraCombo1); toolStrip1.Items.Add(tradeHost); }
Note: Hosting a .Net 4 Windows Forms ComboBox works without an issue.
ThanksAndrew
Hello Andrew,
Here is my attached image. Please note that the UltraCombo does act as a popup. Im investigating how to keep it within the boundaries of the form.
Please let me know if you have any additional questions.
Hi Michael,
Thank you for looking in to this for me.
Yes this is the issue. If you resize the form, the UltraCombo will remain in the overflow section of the ToolStrip. As you say, it should be within view and aligned left in the ToolStrip control.
I tried using a .Net 4 ComboBox and this worked as expected.
Thanks,Andrew