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?
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'.
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!
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
Thanks! That little textbox was hidden extremely well :)
is working on a reply...
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.