Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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>
is working on a reply...