Razor, RenderMacroContent and Form GUID how to do this?
We are switching our XSLT over to Razor. We have a question about the RenderMacroContent in Razor. First is it still available. We have a custom control that we made and the Macro contains all of the properties. However, now we are switching everything over, doing this is a bit unclear and we have not been able to find any proper ways to do this in Razor. Any help is greatly apprecitated. Thanks
Razor, RenderMacroContent and Form GUID how to do this?
We are switching our XSLT over to Razor. We have a question about the RenderMacroContent in Razor. First is it still available. We have a custom control that we made and the Macro contains all of the properties. However, now we are switching everything over, doing this is a bit unclear and we have not been able to find any proper ways to do this in Razor. Any help is greatly apprecitated. Thanks
<xsl:when test="addAContactForm=1">
<xsl:value-of select="umbraco.library:RenderMacroContent('<?UMBRACO_MACRO formguid="b8159c9c-1a23-4a0a-b618-1022d5a180a5" macroAlias="umbracoContour.RenderForm" />', umbraco.library:GetXmlNodeCurrent()/@id)" disable-output-escaping="yes" />
</xsl:when>
Nothing????
I need this ability also.. I have several forms rendered inside a razor macro.
Somebody please answer this.
is working on a reply...