Custom Module Navigation - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Custom Module Navigation

  • Custom Module Navigation
  • 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!
  • 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?
  • 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.
  • Now that Sitefinity is getting ready to be released officially, when can we expect this 'routing' functionality...

    ?
  • 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.
  • 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




  • 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?
  • 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.