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
Hi,
Does anybody know if Macro Parameters are supported for razor based macros in 4.7 beta?
If yes, how to read macro parameter in .cshtml razor script?
Thanks & Regards,Pinal Bhatt
Yup, see the other topic about this :-)
Thanks seb.
Following works fine
@{var param = @Parameter.nameOfParameter;}
or
@(Html.Raw(Parameter.nameOfParameter))
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Macro Parammeters in Razor with 4.7 beta?
Hi,
Does anybody know if Macro Parameters are supported for razor based macros in 4.7 beta?
If yes, how to read macro parameter in .cshtml razor script?
Thanks & Regards,
Pinal Bhatt
Yup, see the other topic about this :-)
Thanks seb.
Following works fine
or
is working on a reply...