I've got a very peculiar problem I was wondering if anyone else has seen
I'm using Infragistics for WinForms, V15, so a little older version.
I've got a form with an Ultratoolbar with several UltraDropDownButtons in it (contained in ControlContainerTool objects), as well as a couple of plain ol' UltraButton objects.
sporadically, when this form is displayed, the UltraDropDownButtons won't paint, but the Ultrabuttons do. All of them have visible=true
If I click the window title bar and simply drag it a little, all the missing buttons suddenly paint and work normal. But if I click where the button SHOULD be when it has not painted, nothing happens, as if the drop down button isn't event there.
I've seen several posts that indicate the Dropdown button doesn't really act like or draw like the normal UltraButton. And since it's not a normal toolbar object and has to be hosted in a ontrolContainerTool, I'm wondering if there's something about that that can sometimes lead to this kind of failure
Here's a couple screenshots that show the issue.
All the buttons are set as visible and there's no code to set them invisible, though there is code to disable them appropriately. You can see that the Pause is disabled.
The buttons that don't draw right are ONLY the UltraDropDownButtons that have been sited in the Toolbar via the ControlContainerTool
Hi Darin,
I am not aware of any issue that could cause the dropdown buttons to behave in this way, but it definitely sounds incorrect. There are two actions you can take to help us diagnose the issue.
First, is it possible for you to upgrade the Infragistics version, even if it's only as a test? It's worth knowing if the issue has been resolved in the latest version.
Second, is the issue reproduceable in a sample? If it is, please send this sample to us and we'll investigate what's going on and figure out a way to resolve it.
Please let me know if you have any questions.
Out of curiosity, why use an UltraDropDownButton - or for that matter, an UltraButton - on a toolbar? Why not just use the built-in tools?
Hi Mike
I was asking myself the same question
I mispoke on the UltraButton, those two controls (the two that are actually rendering properly consistently) are "ButtonTools".
I tried several different things but didn't see any toolbar tool that worked quite the same as the UltraDropDownButton.
I even tried using, say a button and a dropdownmenutool, which is +close+ but still not the same.Have I maybe missed a tool (or a config option for a tool)?
Well.. if memory serves, the UltraDropDownButton control drops down an IPopupItem. There are only two built-in implementations of this interface - a PopupMenuTool or the UltraPopupControlContainer.
So for the former, you could simply replace the ControlContainerTool/UltraDropDownButton with a PopupMenuTool.
For the latter, you would simply use a PopupControlContainer tool.
Either way, I don't see any obvious reason why using an UltraDropDownButton would be advantageous. Perhaps the UltraDropDownButton has some obscure functionality that the tools do not, but if so, I can't think of what it might be. Of course, we'd still like to know why the tools are not drawing or positioning correctly. That might be a bug. But you might want to consider replacing those with better tools, anyway. :)