Merge Child Form on RibbonControlAdv when RibbonPanelMergeContainer is inside a panel

Hello all,

I have a MdiContainer Form which is using RibbonControlAdv and which is working very well.
Now, I have a second form which has multiple panels.
Inside those panels, I have multiple controls, TabControls, SfDataGrid, etc.
Those panels are used to disable/enable all controls inside them when I need it.
Adding a RibbonPanelMergeContainer to my second Form and merge it with the MdiContainer, the RibbonPanelMergeContainer TooStrip does not merge with the RibbonControlAdv, but if I add the RibbonPanelMergeContainer outside any panels on second Form, then they can merge correctly.

Are there any limitation with RibbonPanelMergeContainer and panels? Do I need to add the RibbonPanelMergeContainer outside any panels or is there any such of configuration I'm forgeting here?

Thanks.

7 Replies

VR Vijayalakshmi Roopkumar Syncfusion Team August 27, 2020 05:33 PM UTC

Hi Carlos. 
  
Thank you for Contacting Syncfusion Support 
  
We have checked the reported requirement that you want to merge the new ToolstripEx to the exisiting ToolStripTabItem using RibbonPanelMergeContainer of outside panel. However we could not able to understand your exact scenario. We have prepared a similar sample , in which we have ToolStripTabItem named View and in our new form we have added the ToolStripButtons to the ToolStripEx and added through a RibbonPanelMergeContainer. This will merge the new ToolStripEx to the already created ToolStripTabItem View. Please download the sample from following location: 
  
  
Screenshot: 
  
Screenshot shows the View ToolStripTabItem contains one ToolStripButton. 
  
 
  
  
After clicking the New button in File tab, the newly added CheckBox and ToolStripButton added to the View ToolStripTabItem using RibbonPanelMergeContainer. 
  
  
 
  
For more information about the RibbonPanelMergeContainer, please refer the following UG link: 
  
  
Please have a look at our sample for your reference to achieve your requirement with RibbonPanelMergeContainer and let us know if it helps to meet your requirement at your end. If you still facing issue, please provide us your sample and screenshot that shows issue, so that we can check further on that and provide you the solution accordingly. 
  
Regards 
Vijayalakshmi V.R. 



CF Carlos Ferreira August 27, 2020 10:18 PM UTC

Hello,

Thanks for your answer, but what I'm looking for is something like what I'm sent you.

What you sent me, the RibbonPanelMergeContainer is free (no panels).

Loook at the example I sent you. I dragged the RibbonPanelMergeContainer inside a panel.

As you can see, when you click o Picture, Menu wont merge anymore.

And this is what I'm asking... When a RibbonPanelMergeContainer  is inside a Panel, is there a way to merge menus on parent container?

Thanks.


CF Carlos Ferreira August 27, 2020 10:20 PM UTC

I think the attachment didn't passed. Here's the attachment.

Attachment: ToolstripMerge_c394f8bc.zip


VR Vijayalakshmi Roopkumar Syncfusion Team August 31, 2020 12:23 PM UTC

Hi Carlos, 
 
Thank you for the patience. 
 
We have checked the reported issue in our end and able to reproduce the reported behavior that RibbonPanelMergeContainer does not merge when it is insider panel. But as per our current architecture, it support only when adding the RibbonPanelMenuContainer directly inside the Form alone. So we need to analyze whether when adding RibbonPanelMenuContainer inside the panel or any control. We will check and update the more details on 2nd September. 
 
Regards, 
Vijayalakshmi VR 



GS Gokul Sainarayanan Syncfusion Team September 2, 2020 06:50 PM UTC

Hi Carlos,

Thank you for your patience.

We further analysed the reported case and noted that our current architecture supports RibbonPanelMergeContainer only when it is directly inside the Form and does not support it when RibbonPanelMergeContainer is placed within any other control. We are therefore unable to provide a solution for this case. However, can you tell us if you face any hurdles when you place the RibbonPanelMergeContainer directly inside the form?

Regards,
Gokul S


CF Carlos Ferreira September 2, 2020 07:56 PM UTC

Hello and thank yo for your response.
I was able to manage this problem by add the RibbonPanelMergeContainer inside the Form, setup the buttons and then add all other stup, including panels, etc.
This way, the RibbonPanelMergeContainer is directly inside the form but in the back of the panels and like this, I can merge the toolStrips.

Thanks.


VR Vijayalakshmi Roopkumar Syncfusion Team September 3, 2020 06:52 AM UTC

Hi Carlos 
 
Thank you for your update. 
 
We are glad to hear that the reported behavior with Ribbon has been resolved at your end. 
 
Please let us know if you need any further assistance on this. 
 
Regards, 
Vijayalakshmi VR 


Loader.
Up arrow icon