Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard Thompson 100 posts 336 karma points
    Feb 08, 2018 @ 16:52
    Richard Thompson
    0

    EventCalendar details page gives Cannot find the Umbraco route definition error

    Hi,

    On the event detail page I'm trying to call some actions to output the site's navigation etc.

    Adding my actions to the detail template causes the detail page to fall over with the following error:

    Cannot find the Umbraco route definition in the route values, the request must be made in the context of an Umbraco request
    

    Does anybody know how I can use my action methods?

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Feb 19, 2018 @ 07:21
    David Brendel
    0

    Hi Richard,

    never had this issue before. The detail page uses RouteHijacking and a custom controller to fetch all data and render it on the page.

    Not sure why that could cause the routing to fail.

    Regards David

  • Richard Thompson 100 posts 336 karma points
    Feb 19, 2018 @ 12:21
    Richard Thompson
    100

    I've been able to work around the problem but loading the correct pages in the view and then passing them to partials, rather than calling action methods on my controllers.

Please Sign in or register to post replies

Write your reply to:

Draft