Copied to clipboard

Flag this post as spam?

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


  • SaphuA 124 posts 87 karma points
    Jun 06, 2009 @ 00:47
    SaphuA
    0

    Dropdown values?

    Hello,

    Maybe I'm thinking wrong about this, but when I add a property to a Document Type with type Dropdown, why can't I decide what kind of items there are in the dropdown?

    Thanks!

  • Ulrik Knudsen 14 posts 25 karma points
    Jun 06, 2009 @ 08:44
    Ulrik Knudsen
    1

    Hi

    If you want predefined textstrings as selectable values, then go to developer section and create a new data type with 'Dropdown list' as 'Render control', and use 'Add prevalue' and save for each value.

    If you want to use subnodes from a specific node in the content tree, then create a new data type with 'Ultimate picker' as 'Render control'.

    If you want values from an external datasource, then code your own 'Render control'. This can be done by creating a web user control that implements 'umbraco.editorControls.userControlGrapper.IUsercontrolDataEditor'.

    Best regards

  • SaphuA 124 posts 87 karma points
    Jun 06, 2009 @ 13:37
    SaphuA
    0

    Thanks! That little textbox was hidden extremely well :)

  • 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