Copied to clipboard

Flag this post as spam?

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


  • Frans de Jong 522 posts 1762 karma points c-trib
    Aug 10, 2017 @ 11:46
    Frans de Jong
    0

    Get all radio prevalues of property

    Hi All,

    I want to get all values for a radiolist with a propertyalias. Is that possible in Umbraco 7.6.4?

    What I have now is the following:

    IDataTypeDefinition filterDefinition = Services.DataTypeService.GetDataTypeDefinitionByName("Duurzame daden filter");
    model.FilterOptions = Services.DataTypeService.GetPreValuesCollectionByDataTypeId(filterDefinition.Id).PreValuesAsDictionary;
    

    But I would like to get the "duurzame daden filter" from Model.Content.Filter but due to the propertyvalueconverters this only returns the Id of the selected option.

    Frans

  • 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