Copied to clipboard

Flag this post as spam?

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

  • Marshall Penn 23 posts 123 karma points
    Aug 25, 2017 @ 09:34
    Marshall Penn

    How to access MultiPicker objects from controller

    I have a multipicker on my page, and can successfully select multiple objects - but how can i access the selected data in the controller to add it into my model.

    In the code below Person is my poco which is being multiple selected, with the model having a property of List


    This gives nothing. What am i doing wrong?

  • Alex Skrypnyk 5272 posts 19275 karma points MVP 3x admin c-trib
    Aug 28, 2017 @ 10:44
    Alex Skrypnyk

    Hi Marshall

    What about the type of object? What type is TeamMembers property?



  • Marshall Penn 23 posts 123 karma points
    Aug 28, 2017 @ 20:57
    Marshall Penn

    TeamMembers property is this:

    [Ignore] [UIOMaticListViewField(Name = "Members", View = UIOMatic.Constants.FieldViews.Label)] [UIOMaticField(Name = "Members", Description = "Team members", View = UIOMatic.Constants.FieldEditors.List, Config = "{'typeAlias': 'people', 'typeName': 'Umbraco5.Models.Pocos.Person, Umbraco5', 'foreignKeyColumn' : 'Id', 'canEdit' : false}")] public IEnumerable

    Thanks, Marshall

  • Marshall Penn 23 posts 123 karma points
    Aug 28, 2017 @ 20:58
    Marshall Penn

    Its also this is the Model:

    public List


Please Sign in or register to post replies

Write your reply to: