+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / Custom Module Navigation

Custom Module Navigation

8 posts, 0 answered
  1. Stephen Green
    Stephen Green avatar
    2 posts
    Registered:
    09 Mar 2010
    29 Sep 2010
    Link to this post
    How do you create a URL to navigate between different views in a custom module in Sitefinity 4.0?  The Jobs module example does not demonstrate this functionality.

    Thanks!
  2. Stephen Green
    Stephen Green avatar
    2 posts
    Registered:
    09 Mar 2010
    30 Sep 2010
    Link to this post
    I realize I might not have been clear.  In prior versions, you would extend ViewModeControl to create the different page views for your module.  This class had several methods such as CreateHostViewCommand and NavigateRootViewCommand.  How is this functionality achieved in the new architecture for Sitefinity 4.0?
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    04 Oct 2010
    Link to this post
    Hi Stephen,

    The navigation in Sitefinity 4.0 is completely different from what we use in 3.6 and 3.7 edition. In 4.0 we use RadWindow control as dialog and everything is done through client side API of the control and services when needed. One of the options is using a definitions to create dialog elements and pass argumens



    var parameters = string.Concat(
                    "?ControlDefinitionName=",
                    ModuleDefinitions.BackendItemDefinitionName,
                    "&ViewName=",
                    ModuleDefinitions.BackendItemInsertViewName);
     
    public const string BackendItemDefinitionName = "ItemsBackend";
    public const string BackendItemInsertViewName = "InsertItem";


    There is a class DefinitionsHelper that can be used to create dialog elements

    var createDialogElement = DefinitionsHelper.CreateDialogElement(
                    entriesMasterView.DialogsConfig,
                    DefinitionsHelper.CreateCommandName,
                    typeof(FormEntryEditDialog).Name,
                    null);
                    entriesMasterView.DialogsConfig.Add(createDialogElement);

    We will work on a samples to show how you can create an additional provider and module with custom views. For the time being "routing" is not documented.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  4. Preetham Reddy
    Preetham Reddy avatar
    57 posts
    Registered:
    16 Jul 2012
    26 Dec 2010
    Link to this post
    Now that Sitefinity is getting ready to be released officially, when can we expect this 'routing' functionality...

    ?
  5. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    28 Dec 2010
    Link to this post
    Hello Stephen Green,

    The routing functionality is on the plan for release after the official one.

    Best wishes,
    Radoslav Georgiev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Waqar
    Waqar avatar
    16 posts
    Registered:
    23 Nov 2010
    04 Jan 2011
    Link to this post
    Hello!
    Can you please explain how to pass parameter value between different controls in the module. As we did in contacts module in sitefinity 3.x.
    Please also give some detailed explanation about developing modules as in this video.
    http://www.sitefinitywatch.com/blog/09-04-20/Introduction_to_Sitefinity_Intra-Site_Module_Creation.aspx

    And also give some code snap about developing side navigation bar as in this video.
    please tell me how earlier you will release documentation and sample code about custom navigation inside modules.


    Many Many thankx!

    Please reply ASAP




  7. Preetham Reddy
    Preetham Reddy avatar
    57 posts
    Registered:
    16 Jul 2012
    30 Jan 2011
    Link to this post
    Any update on this?

    I am trying to build some custom modules and it's difficult to create anything meaningful without having the ability to interact between various views.... and it's frustating not to have any documentation on this even after official release...

    Can you let us know when can we have this documented?
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    31 Jan 2011
    Link to this post
    Hi Preetham,

    Have you checked the Products catalog sample module that is shipped with our SDK?
    For the backend you can use - passing some parameters in a custom web service and use DialogElement.


    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
8 posts, 0 answered