Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Hello,
                                    I have a ribbon form with xtratabmdi manager and a normal devexpress form. Then I added a ribbon control to the normal devexpress win form, but the pages won't be merged with the parent ribbon form. But if I use a ribbon form as a mdi child form, it works and all ribbon pages of the mdi child ribbon firm are merged with the parent ribbon form.

                                    How can I achieve that the ribbon pages of normal devexpress forms are merged with the ribbon pages of the parent ribbon form?

                                    Thanks,
                                    Olivier

                                0

                                Hi Olivier,

                                Thank you for the message. Unless I'm mistaken this issue can be resolved by setting the MdiMergeStyle property to Always. Please review the MergeRibbon Issue thread about a similar problem for more information. Please let me know if you need any additional assistance in this regard.

                                Thanks,
                                Svetlana

                                0

                                Hi Svetlana,

                                I attached you an example project. If I use 'Open RibbonChild' the ribbon page is merged, but if I use 'Open XtraChild' the ribbon pages of the XtraForm (Child Form) is not merged with the ribbon control on its parent form.

                                Thanks,
                                Olivier

                                0

                                Hi Olivier,

                                Thank you for your feedback. I've created a sample for you based on your requirements, and it works as expected here. Please review the attached project, and let me know if you need any further assistance in this regard.

                                Thanks,
                                Svetlana

                                0

                                Hi Svetlana,

                                thanks for your example project. It works, but what have you done differnently? I don't see the mistake in my example project.
                                It would be great to know how to resolve the problem.

                                Regards,
                                Olivier

                                0

                                We are researching this issue. We'll answer you as soon as the solution is found.

                                0

                                Hi Olivier,

                                This issue is caused by the fact that in the XtraForm the RibbonControl belongs to the LayoutControl. Before merging occurs, the RibbonControl's FindMDIRibbon method is called, which searches the RibbonControl through the MDI child form's controls (via its Controls property). So, this method finds only the LayoutControl, and returns null.
                                You can resolve this issue by using the following approaches:
                                1. Create your own RibbonControl and override the FindMDIRibbon method.
                                OR
                                2. Add the RibbonControl to the XtraForm.Controls collection.
                                Please try this approach, and let me know if this helps you.

                                Thanks,
                                Svetlana

                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners