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"].
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"].
is working on a reply...