Copied to clipboard

Flag this post as spam?

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


  • Damiaan 438 posts 1290 karma points MVP 3x c-trib
    Sep 13, 2012 @ 09:31
    Damiaan
    0

    Unexpected template in Model after SearchForTemplate in razor

    Hi

    When i have the "SearchForTemplate" not found handler which has a Razor Macro, i would expect that the "template" variable would point to the template as found (and opened) by the SearchForTemplate not-found handler.

    This is not the case.  The Model contains the original template of the home node.  Should I open a bug report for this?  What would you guys expect?

    I already have found a workaround, which is using Context.Items["altTemplate"].

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies