If I Remove a RibbonTab from one Ribbon and add it to another Ribbon, my PopupMenuTool controls don't work as expected anymore.
They appear but it seems like the ButtonTools in it are gone...
The only thing I'm doing is:
Ribbon:Tabs:Remove(RibbonTab).
RealRibbon:Tabs:Add(RibbonTab).
Hello,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.
Have adjusted your example. Could you have a look?
Btw, if you add another button to move it back to the original ribbon, the PopupMenuTool is fine again...
thx, Lieven Cardoen
Boris,
Do you think it's possible to check my uploaded zip? I really don't know how to solve this or work around the issue. If you could provide me with an example on how to make that PopupMenuTool work, that would be great.
thx.
Tried to remove all tools from first toolbarsmanager and add them to second toolbarsmanager, but PopupMenuTool still doesn't work. Could you have a look at my example?
Thx, Lieven
Hello Lieven,
I took some time researching this and came to the conclusion that it might be better if we use the approach with saving and loading the toolbar data from the first to the second Ribbon.
Please try the following code and let me know if it suits your needs:
private void ultraButton1_Click(object sender, EventArgs e) { ultraToolbarsManager1.SaveAsXml("..//..//layout.xml", true); ultraToolbarsManager2.LoadFromXml("..//..//layout.xml"); }
I will be waiting for your feedback.
Hi Boris,
For now I manually fixed the PopupMenuTools, but I'll try your approach later on (sprint is coming to an end...).
I'll keep you posted on this.
Thx for the effort!
Glad to hear that you found a way to do it. I hope that my approach will be good enough for you. If it needs any adjustments please let me know, I will be happy to assist you further on this.
Well, in the future it would be nice if Infragistics added support for multiple merging... but apart from that, I don't need any further assistance on this. thx.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.