Custom MVC Navigation Problem.
Hi,
We created following:
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.
Thanks.
Hello Abhijeet,
The issue seems related to that KB article:
http://www.sitefinity.com/developer-network/knowledge-base/details/custom-mvc-control-is-not-available-in-details-view---auto-generated-pages
So you need to implement HandleUnknownAction in your controller with the desired functionality.
I hope the information helps.
Regards,
Svetoslav Manchev
Telerik
Thanks team. HandleUnknownAction method resolves my issue.