Copied to clipboard

Flag this post as spam?

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


  • Damiaan 442 posts 1302 karma points MVP 6x 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"].

Please Sign in or register to post replies

Write your reply to:

Draft