I have a ribbon with afew tools on.
Some of these span several tabs, and are one tool, this was all working fine until I changed the tools from ComboBox's to ControlContainers.
I needed to start using Control Containers with UltraDropDowns to include columns.
I have managed to add a Database Dropdown to every tab I have, however when I try and do the same with the ODBC ControlContainer I have created it removes it from another tab rather than keep it on the old tabs.
Is there some kind of setting within the control that I may have inadvertently changed?
Just seems that the 2nd control container wont stick and gets removed every time I try and add it somewhere else using the Add Existing.
Hi Chris,
Each Control Container Tool needs its own control. This is due to the nature of the control container -- a custom implementation would be necessary to share data between instances of the embedded controls.
I recommend writing this up as a product idea at http://ideas.infragistics.com/. We will review the idea and see if it is a possible to implement it in a generic way.
Hi Mike
Thanks for the information, however could you explain why this works for one control container but not another?
If what you were saying was the case I would expect both control containers to only allow one instance, however I have one control container that is on every single tab! and shares the information between said tabs
As you can see the SQL Control Container is the one that wont allow me to put it on every tab, the other Control Container (Database:) is on every tab and shares information.
So I am confused that you say it is unable to do this?
I can think of one possible issue: please check the tool's SharedProps.AllowMultipleInstances property. It's true by default, but could have been set to false in this case.
It seems that there's something going on here that I don't understand. Would it be possible for you to send a sample project where I can see the issue occurring? With a sample, I'll have a better understanding of what's going on and how to solve it.