Multiple maximize, minimize and close buttons on a MDI RadRibbonForm

6 posts, 2 answers
  1. John
    John avatar
    9 posts
    Member since:
    Mar 2009

    Posted 14 May 2011 Link to this post

    Hello,

    Sorry for the long subject line; I wasn't sure how else to phrase it.

    First of all, here are my system details:  I am using RadControls for WinForms Q1 2009 in C# (I know that it's old, but that's what I'm stuck using for now).  I am using Visual Studio 2008 SP1 and this project is using the .NET Framework 3.5.  I have some experience with the ASP.NET and Winforms RadControls, but I am by no means an expert.

    This project is using a main RadRibbonForm as an MDI parent.  It then has several child MDI RadForms which all inherit from a base RadForm.  Because I am using a RadRibbonForm, I don't have a menu strip defined.  The problem that I'm having is that I have multiple rows of minimize, maximize and close buttons appearing (Please see the screenshots).  When I first open up the application, I don't have any of the MDI children visible.  However, when I open up one of the MDI children, it opens unmaximized and I can see its title bar.  When I maximize the MDI child, I see what is shown in the screenshot ribbonformmdi01.jpg.  When I unmaximize or minimize the MDI child, I see what is shown in the screenshot ribbonformmdi02.jpg.  Finally, when I close the MDI child, I see what is shown in the screenshot ribbonformmdi03.jpg. 

    I thought that by setting the the base child MDI RadForm's window state property to "Maximized" in design time, that this would solve the problem.  The screenshot ribbonformmdi04.jpg shows what I see when I open the MDI child.  It opens maximized, but I have no way of minimizing or closing the child MDI form. 

    I know that I must be overlooking something.  Can anybody offer any help, please?  What am I missing?  I have been looking all over the forums but the only thing that I've been able to find is what to do if you have a RadMenu and you want to merge the child's RadMenu with the parent's RadMenu.  This obviously doesn't apply.  I have also tried without any success to set various properties in the child RadForms such as the TitleBar's visibility property but that hasn't done the trick either.  Thanks in advance for any help that you can give.

    Regards,
    John
  2. Answer
    Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 18 May 2011 Link to this post

    Hello John L. Rosenlof,

    Thank you for contacting us.

    I thouroughly tested your scenario with Q1 2009 and it seems that the behavior of the MDI child RadForms is inappropriate. To work around the issue you should use a RadShapedForm in a combination with RadRibbonBar instead of a RadRibbonForm. In this way you will avoid the "double tabstrip"  which appears when the MDI child is maximized. The MDILayout demo under RadRibbonBar tab in the telerik demos installed on your computer illustrates this workaround (to start the demos please use the following path: C:\Program Files\Telerik\RadControls for WinForms [version]\Examples).

    Please bear in mind that the version you are using is not officially supported any more. I highly recommend you to use the latest version of our products. Since you mentioned you are stuck with Q1 2009, I kindly suggest you to start the upgrading process and share with us any issues you encounter. Our team will be more than happy to help you!

    Kind regards,
    Boryana
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. John
    John avatar
    9 posts
    Member since:
    Mar 2009

    Posted 29 May 2011 Link to this post

    Hello Boryana,

    Thank you very much for your answer.  I was wondering, if I upgrade to the latest version (Q1 2011 SP1) would the RadForm behavior be corrected?  If so, this project would be a good one for me to try upgrading because it is so small.  I think that there is some hesitance to upgrade because we're not sure how difficult the process is or if there will be anything that gets broken. 

    If the behavior is still the same in the upgraded version, I'll just go ahead and use the RadShapedForm as you suggest.  Thanks again for all of your help.

    Regards,
    John
  5. Answer
    Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 01 Jun 2011 Link to this post

    Hello John,

    Thanks for writing back.

    The issue you are experiencing is addressed in our latest release 2011 Q1 SP1. I highly recommend upgrading your application since many improvements have been introduced since Q1 2009.

    In case you encounter difficulties during the upgrading process, please let me know. I will be happy to assist you.

    Kind regards,
    Boryana
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
  6. John
    John avatar
    9 posts
    Member since:
    Mar 2009

    Posted 07 Jun 2011 Link to this post

    Hello Boryana,

    Thank you again for your response.  I installed the latest Q1 2011 release.  I then upgraded my project.  The only problem which I had was a minor one where the RadRibbonForm and RadForm are now in the Telerik.WinControls.UI namespace instead of the Telerik.WinControls namespace.  Everything seems to be working and the issue is resolved.  Thank you very much for your help in resolving this issue.

    I just have one last question.  If I have upgraded all of my projects to use the latest Q1 2011 release, can I uninstall the old Q1 2009 release?  I would think that, once everything is upgraded, the old release is no longer necessary and I can uninstall it without adversely affecting anything.  Is this correct?

    Thanks again,
    John
  7. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 10 Jun 2011 Link to this post

    Hello John,

    Thank you for writing. I am very happy to hear that the upgrading process went without issues.

    As for your question, once you have upgraded your projects to Q1 2011, you can uninstall all previous versions of RadControls for Winforms.

    I hope you find this useful. Let me know if I can assist you further.

    All the best,
    Boryana
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Back to Top
UI for WinForms is Visual Studio 2017 Ready