Copied to clipboard

Flag this post as spam?

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


  • julian.l 1 post 21 karma points
    Dec 19, 2012 @ 00:45
    julian.l
    0

    Linking two macros together

    Hi guys,

    Umbraco newbie here. Not sure if this is the right section to ask the question.

    I'm trying to link two macros together. The first macro is an ASCX user control with a bunch of checkboxes, and the second macro is an XSLT macro to generate repeated content based on the options selected in the first one. The first user control currently renders checkboxes as a CheckboxList.

    In the first user control, I have a public property (which has been converted into a parameter by Umbraco). This public property stores the values selected, as a comma-separated string. I'd like to pass this comma-separated string to the second macro as a parameter so that it will know what content to generate. From there I will delimit the string and do the necessary content generation via XSLT.

    Please advise. Thanks

Please Sign in or register to post replies

Write your reply to:

Draft