Try Now
More in this section

Forums / Developing with Sitefinity / Custom MVC Navigation Problem.

Custom MVC Navigation Problem.

3 posts, 1 answered
  1. Abhijeet
    Abhijeet avatar
    3 posts
    05 Nov 2015
    23 Nov 2015
    Link to this post


    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.


  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    06 Sep 2017
    26 Nov 2015
    Link to this post
    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
  3. Abhijeet
    Abhijeet avatar
    3 posts
    05 Nov 2015
    26 Nov 2015 in reply to Svetoslav Manchev
    Link to this post
    Thanks team. HandleUnknownAction method resolves my issue.
3 posts, 1 answered