Copied to clipboard

Flag this post as spam?

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


  • anthony hall 222 posts 536 karma points
    Apr 19, 2012 @ 10:51
    anthony hall
    0

    passing in c# variable into macro (4.0.2.1)

    I have an old 4.0.2.1 application. I want to pass into a c# variable into my marco. 

    i know @type would pass in the query string. But what if on the page i had the follow

    <%

    var type = "hello";

    %>

    <umbraco:Macro Alias="BedGalleryNav" type="[@type]" runat="server"></umbraco:Macro>

Please Sign in or register to post replies

Write your reply to:

Draft