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
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
IEnumerable
This gives nothing. What am i doing wrong?
Hi Marshall
What about the type of object? What type is TeamMembers property?
Thanks,
Alex
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
Its also this is the Model:
public List
Marshall
is working on a reply...