Current filter:
                                You should refresh the page.
                                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

                                RibbonMDIApplication.zip
                                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

                                Q213999.ZIP
                                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

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.