This used to work fine but suddenly controls that are added to the UltraExplorerBar no longer appear. They are added using the recommended method but nothing helps. A control is added to the UltraExplorerBarContainerControl and that is added to the UltraExplorerBar.
Is there a reason why some controls would not appear at runtime?
Hello Sam,
Did you recently upgrade or migrate your application? If so which version(s) are you working with that is currently reproducing the behavior?
I upgraded to 18.2
I just tested this in 18.2 and everything is working for me. It's crucial that you have the location set on the control inside the control container to a new point of at least 0,0 depending on the size of the container. You may test around the sample attached with the version you are using and let me know if you have any questions.
ControlsInExplorerBar.zip
So, what I meant is that in the header where it says "New Group" there would be a button (like one to add a row to the grid). My buttons don't show up there anymore, they're just floating on the form where they were placed at design time. Even though their container is properly defined.
Attached is how it's set up now
I came close with one button, but it's showing up over the header of the grid inside the container instead of the header of the container.
Can you isolate this with my sample?
Unfortunately dragging from the toolbox won't work like that in the designer. All of this must be done in code behind like the sample I provided.
For some reason, they're being added to the wrong header, even though I specified the index. There are four headers and three buttons. The buttons should start displaying from the second header and so on. However, they're starting from the first header.
Ok.Thanks for the update.
Yes, I believe I have isolated the problematic code on my side and it is where a CreateFilter is being used. It happens to be in a component in a separate project, so it was difficult to trace down at first.
If you recently used the designer for the first time inawhile it could have modified the client area. The optimal way to place a button in the New Group header is to use a CreateFilter. Then the elements would never move.
Please see sample below on demonstrating this requirement. UltraExplorerBarCreationFilterAddButton.zip