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
Helo all,
I've a repeater which has a macro(user control) in it,I'm passing node id to this macro as follow:
uMacro.MacroAttributes.Add("datasourceid", itm.Id.ToString());
Now how I can read this "datasourceid" in that user control?
-Regards,
Vikram
Hello,
You can read the answer here: http://our.umbraco.org/forum/developers/extending-umbraco/26153-Use-parameters-of-macro-with-usercontrol#comment97324
Jeroen
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Read Macro attributes in code
Helo all,
I've a repeater which has a macro(user control) in it,I'm passing node id to this macro as follow:
uMacro.MacroAttributes.Add("datasourceid", itm.Id.ToString());
Now how I can read this "datasourceid" in that user control?
-Regards,
Vikram
Hello,
You can read the answer here: http://our.umbraco.org/forum/developers/extending-umbraco/26153-Use-parameters-of-macro-with-usercontrol#comment97324
Jeroen
is working on a reply...