More in this section

Forums / Developing with Sitefinity / Navigate between hierarchies

Navigate between hierarchies

2 posts, 0 answered
  1. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    18 Feb 2004
    08 Feb 2010
    Link to this post
    Hi all,

    I'm busy to create some custom modules inside my SF backend.
    I've created a 'Families' module and a 'Persons' module.

    Now I'd like to navigate from my Family 'ItemListView' view to my Person 'ItemListView' view.
    I tried the different commands like CreateRootViewCommand etc. but I don't know how to pass the right views.

    Unlike the 'Products' sample I don't have a 'StoreControl' as the 'root' view, so my two modules are on the same level.
    What command parameters should I use?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    08 Feb 2010
    Link to this post
    Hi Daniel,

    I've created a 'Families' module and a 'Persons' module.

    If these are two modules you cannot use CreateHostViewCommand,NavigateHostViewCommand, CreateRootViewCommand because they works only in the context of one module. You have to use NavigateUrl of an hyperlink and make redirect to the other module. You can gather more information at How to navigate between Views: Overview

    You can use the above methods if you want to navigate between view of one module. Please take a look at the article above and its subarticles where you can find samples.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
2 posts, 0 answered