Copied to clipboard

Flag this post as spam?

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


  • Carlos 338 posts 472 karma points
    Apr 25, 2012 @ 19:17
    Carlos
    0

    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('&lt;?UMBRACO_MACRO formguid=&quot;b8159c9c-1a23-4a0a-b618-1022d5a180a5&quot; macroAlias=&quot;umbracoContour.RenderForm&quot; /&gt;', umbraco.library:GetXmlNodeCurrent()/@id)" disable-output-escaping="yes" />
        </xsl:when>

  • Carlos 338 posts 472 karma points
    Apr 26, 2012 @ 23:11
    Carlos
    0

    Nothing????

  • Daniel Bardi 927 posts 2562 karma points
    Sep 15, 2012 @ 05:22
    Daniel Bardi
    0

    I need this ability also.. I have several forms rendered inside a razor macro.

    Somebody please answer this.

Please Sign in or register to post replies

Write your reply to:

Draft