Custom MVC Navigation Problem. - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Custom MVC Navigation Problem.

  • Custom MVC Navigation Problem.
  • Hi,

    We created following:

    • A custom content as "Telerik.Sitefinity.DynamicTypes.Model.Campus.Campus".
    • A page as /campus with the content widget of the custom content Campus dropped on it.
    • A custom MVCNavigationControl  as "CustomSitefinitySiteMap" to format and display the menu as per our requriements.

    The page URL /campus has the custom navigation menu as per our expectation. But on the auto-generated pages for the campus custom content items like /campus/phoenix, /campus/riverside etc the navigation control is not included. When we debug the code we noticed that the “ActionResult Index()” method of our navigation Contoller is not even triggered.

    Please advise if we need to make any config/settings changes so that the custom navigation is enabled for the auto-generated URLs. The default navigation of Sitefinity does get included on these auto-generated URLs.


  • Hello Abhijeet,

    The issue seems related to that KB article:

    So you need to implement HandleUnknownAction in your controller with the desired functionality.

    I hope the information helps.

    Svetoslav Manchev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
  • Thanks team. HandleUnknownAction method resolves my issue.