Copied to clipboard

Flag this post as spam?

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

  • Rihab 84 posts 317 karma points
    Jul 04, 2018 @ 13:05

    hi everyone,

    i'm trying to change the property editor in the design tab at the home page from radio button to dropdown list. and i need to continue using it the same way as the old datatype "radio button" like this

    var colorTheme = Umbraco.GetPreValueAsString(home.ColorTheme);

    can any one help me?

  • Dennis Aaen 4437 posts 17900 karma points admin hq c-trib
    Jul 04, 2018 @ 14:04
    Dennis Aaen

    Hi there and welcome to our.

    You should do something like this.

    var colorTheme =  home.GetPropertyValue<string>("colorTheme")

    Hope this helps,


Please Sign in or register to post replies

Write your reply to: