Copied to clipboard

Flag this post as spam?

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


  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    Aug 04, 2010 @ 14:05
    Sebastiaan Janssen
    0

    Get radiobutton prevalues in eventhandler

    I am using an afterSave handler to process some data. I need to be able to get the prevalues that I've entered in a radiobutton datatype. Currently I'm getting ID's from the document.getProperty("myProperty").Value cal... but I need to know what value this ID represents.

  • Sascha Wolter 615 posts 1101 karma points
    Aug 04, 2010 @ 14:20
    Sascha Wolter
    0

    Hi Sebastiaan,

    can't you use

    string preValue = umbraco.library.GetPreValueAsString(your-int);

    in your code to get the value or am I missing the point here?

    Sascha

  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    Aug 04, 2010 @ 14:24
    Sebastiaan Janssen
    0

    Ah thank you so much! Learning something new every day... :-)

  • Sascha Wolter 615 posts 1101 karma points
    Aug 04, 2010 @ 14:34
    Sascha Wolter
    0

    Hehe, dito :D

  • 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