Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > MEF + Nested navigation with RibbonBar

Not answered MEF + Nested navigation with RibbonBar

Feed from this thread
  • Rafal avatar

    Posted on Jul 27, 2011 (permalink)

    Hi,

    I wonder if it is possible to have nested navigation frame within Page containing RibbonBar as a navigation menu.

    I'd like to navigate on the main level to the page containing RibbonBar where I could navigate using InternalNavigationFrame.

    In perfect case the URI's would look like that: www.domain.com/default.html/myapp#/outerview.xaml#/innerview.xaml and would support deeplinking/ forward/backward navigation etc.

    Cheers,
    Rafal

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Aug 1, 2011 (permalink)

    Hello Rafal,

    I am not sure I understand your scenario correctly. Can you please elaborate on it more? Do you intend to use MEF to implement it and how do you see the implementation of the scenario?

    I attached a sample project where I tried to implement the described scenario, so can you please have a look at it and let me know if it is close to what you have in mind or if I am missing something?

    Thank you in advance.

    Greetings,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

    Reply

  • Rafal avatar

    Posted on Aug 2, 2011 (permalink)

    Hi Tina,

    Thanks for your response.

    The solution you provided is acting similar to how I want my app act like. However:
    (assuming that pages about/about1/about2 look like in the project attached by you)

    1. I would like to navigate to internal pages using URI's

    In your example the address, e.g.: "http://localhost:59993/SilverlightApplication2TestPage.html#/About" is static
    I'd like to get internal pages like this: "http://localhost:59993/SilverlightApplication2TestPage.html#/About#/About2"

    But this is the scenario I am ready to abandon. The main problem now is:

    2. Page "About", containing internal NavigationFrame should be loaded from an external xap assembly, using MEF.


    To simplify (or maybe not) let's forget about two NavigationFrames. We have an app loading page "About" from another XAP and there we can navigate to pages "About1" and "About2" using URI's:

    "http://localhost:59993/SilverlightApplication2TestPage.html#/About1"
    "http://localhost:59993/SilverlightApplication2TestPage.html#/About2"

    or

    "http://localhost:59993/SilverlightApplication2TestPage.html#/About?InternalPage=About1"
    "http://localhost:59993/SilverlightApplication2TestPage.html#/About?InternalPage=About2"

    I hope I've clarified my idea sufficiently.

    Thanks in advance.

    Cheers,
    Rafal

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Aug 5, 2011 (permalink)

    Hi Rafal,

    I believe that in your case you can implement a master/detail scenario. This way you won't need to use application navigation, you can take advantage of MEF entirely. Unfortunately we don't have an example with the ribbon control illustrating this scenario, but I believe this article can help you get started. Also you can examine the projects attached to this CodeLibrary thread - http://www.telerik.com/community/code-library/silverlight/general/how-to-use-the-radribbonbar-as-prism-region.aspx, demonstrating different approaches in using the  RadRibbonBar in a PRISM and MEF scenario. Please have a look at this information and let me know if this approach is applicable for your scenario.

    On a side note, I wanted to let you know that due to the many known limitations of the RibbonBar control we decided to provide a new implementation of the control - RadRibbonView. You can find more info about the differences between the two controls here.

    Best wishes,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > MEF + Nested navigation with RibbonBar