Trying to figurte out how to output/render a macro from a macrocontainer in my template. The Macro itself is a old ascx-type usercontrol int this case. Doing @Umbraco.Field("myMacro") outputs:
<!--?UMBRACO_MACRO macroAlias="myMacro" /-->
formatted as a html comment. I should definetly know how to do this, but i dont.
Template and MacroContainer
Trying to figurte out how to output/render a macro from a macrocontainer in my template. The Macro itself is a old ascx-type usercontrol int this case. Doing @Umbraco.Field("myMacro") outputs:
<!--?UMBRACO_MACRO macroAlias="myMacro" /-->
formatted as a html comment. I should definetly know how to do this, but i dont.
/D
Did you find out how, David?
Hi Tom and David,
Have you tried something liked this:
The documentation can you find here: http://our.umbraco.org/documentation/Reference/Mvc/partial-views
Hope this helps,
/Dennis
is working on a reply...