Using RibbonBar with MDI Parent Child Relation

2 posts, 0 answers
  1. James
    James avatar
    3 posts
    Member since:
    Jan 2009

    Posted 29 Jan 2009 Link to this post

    I have done searches and cannot find anything on this.  I have a parent/child application, each child has it's own stuff to do, esentially what I am trying to do is. when you click a tab, the child form loads into the parent and inserts it's "ribbon" of items into the parent ribbon.

    If that's not possible, how would I then go about issuing commands in the child from the parent ribbon.

    Please, this is driving me crazy and I know it shouldn't be this hard.

    Thank you in advance

    BTW: I am trying this with Q3 2008 General Release
  2. Peter
    Peter avatar
    1148 posts

    Posted 30 Jan 2009 Link to this post

    Hello James,

    Regarding 2007 Microsoft Office System UI Design Guidelines, RibbonBar control is not designed to support MDI functionality. RadRibbonBar supports partially MDI. When RadRibbonBar is placed in a MDI parent form it shows the Min, Max and Close buttons (see the attached screenshot). In addition, it can be very easy to add a Chunk for each child form, here is sample code about adding Chunks programmatically:

    TabItem tabItem1 = new TabItem(); 
    RadRibbonBarCommandTab radRibbonBarCommandTab1 = new RadRibbonBarCommandTab(); 
    radRibbonBarCommandTab1.Tab = tabItem1; 
    RadRibbonBarChunk radRibbonBarChunk1 = new RadRibbonBarChunk();  

    Also, please refer to our example named "RadRibbonBar->MDI layout" in our Quick Start Framework (QSF) (TelerikExample.exe in the Telerik installation folder).

    Hope this helps. Do not hesitate to write me back if you have more questions.

    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top