Copied to clipboard

Flag this post as spam?

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


  • rasb 162 posts 218 karma points
    May 31, 2009 @ 17:27
    rasb
    0

    Passing infomation from a Document Type property to a Macro property

    Hi Guys,

    I have created a .NET User Control, that I have added as a Macro. The user control has a property which is a text string.

    I have then created a document type with a corresponding Template. In the document type I have added a RichText editor property.

    Now what I want to do is to allow the content editor to enter text into this RichText editor, and then have the template pass this on to the macro by setting the value of the RichText editor on the Macro property.

    I tried this:

    [code]
    [/code]

    But this of course does not work. The name of the property on the macro is QuestionnaireDone and the name of the property on the document type is questionnaireDone.

    Any input on this?

    /rasb

  • rasb 162 posts 218 karma points
    May 31, 2009 @ 18:01
    rasb
    0

    After looking closer in the forum, I found this post, and that did the trick:

    http://forum.umbraco.org/yafpostst2853Dynamic-Peramiters-for-NET-User-Controls.aspx

    /rasb

  • 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.

Please Sign in or register to post replies