Hello,
I know this is not the function of a PopupGallery, but I want to add some ButtonTools to it.
On the Designer I can add them easily, but on runtime it doesn't work (see the attachments)
This is the Code is use:
Dim ParentTool As PopupGalleryTool = mToolBar.Ribbon.Tabs(1).Groups(0).Tools(0)
For Each ZAPTermin As Date In allAktZAPS
Dim strButtonKey As String = "fkdZ" & ZAPTermin.ToString
CreateButtonTool(strButtonKey, Format(ZAPTermin,
"MMM yyyy"), String.Empty, Nothing, My.Resources.calendar_1)
ParentTool.Tools.AddTool(strButtonKey)
Next
It seems like the width ist wrong or the Tools are not added to the Container...
Here ist the Screenshot how it should be (created by the designer)
Hello,
I am just checking about the progress of this issue. Let me know If you nay my further assistance on this issue?
Thank you for using Infragistics Components.
I believe what you are doing should work. Are you adding the items to a child toolbars manager which is merged into a parent? If so you will need to call RefreshMerge on either the parent or child manager to see the changes in the merged parent. If not, would you be able to post a small sample which reproduces the issue?