Merge toolstrips from MDI child to MDI parent form. Possible?

5 posts, 0 answers
  1. alex.z
    alex.z avatar
    5 posts
    Member since:
    Jul 2007

    Posted 04 Jul 2007 Link to this post

    Hi, possible I can get help here in following feature in telerik windows forms.
    I need to know if this possible to do in telerik. When MDI child form is opened toolbar(RadToolStrip) from this form automatically merged to toolbar in MDI parent from. Also when you switching between few different MDI-child forms with different toolbars - in MDI parent form toolbars are changing in accordance.
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 05 Jul 2007 Link to this post

    Hi Alex,

    Currently this feature is not built-in, but it is very easy to be implemented with our controls suite.  You could subscribe to the Layout event of the parent form, and then check if you have a child form maximized and if so, merge that child's toolstrip with your parent's one. 

    I have attached a very simple project which demonstrates how to achieve that behavior.

    If I could be of further assistance, please do not hesitate to write back.


    Sincerely yours,
    Ray
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. David McCloskey
    David McCloskey avatar
    5 posts
    Member since:
    Jan 2009

    Posted 20 Aug 2009 Link to this post

    I just looked at the toolstrip merge c# project.  It does not work as I expected.

    Must be asking the wrong question.

    Be well,
    Dave

  5. David McCloskey
    David McCloskey avatar
    5 posts
    Member since:
    Jan 2009

    Posted 20 Aug 2009 Link to this post

    Hi Telerik Team,

    I have spent alot of time attempting to find a working example for a toolstrip MDI parent to MDI child.  I have two license for your product,  The example above does not work in VS2008.  Is there an upgraded example out there.

    Be Well,
    Dave
  6. Nick
    Admin
    Nick avatar
    767 posts

    Posted 21 Aug 2009 Link to this post

    Hi David McCloskey,

    Technically we do not support toolstrip merging in MDI applications, the sample project is an effort we made to provide some work-around and currently this is still the only work-around that we have. To start the project you have to delete the old Telerik reference and add the new ones. Then you have to go in the Designer.cs - should the project do not compile - and update the this.radCheckBoxElement2.CheckAligment to this.radCheckBoxElement2.CheckAlignment.

    I hope this helps. Do not hesitate to write me back if you have further questions.

    Kind regards,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for WinForms is Visual Studio 2017 Ready