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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.