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...
Hello ,
Thank you for your feedback. Please do not hesitate to contact with us if you have any further questions on this.
Thank you for using Infragistics Components.
thanks for asking but I didn't have the time to go any further with this, so I choosed a Combo/DropDown-Box and went on with it.
So the issue may be closed.
Hello,
I am just checking about the progress of this issue. Let me know If you nay my further assistance on this issue?
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?
Here ist the Screenshot how it should be (created by the designer)