I'm using the JQuery Select2 plugin from http://select2.github.io/select2/ and am having a problem binding a model to multiple items.
I know that when using Select2 for multiple items, you can create a separate entity to hold the stored items, but in my case I'd like to use a comma delimited list.
My view code is here:
<div class="col-xs-3">
@Html.DropDownListFor(
x => x.Quote.TypeofRoof,
Model.RoofTypes,
"", new { @class = "ddl", @multiple = "multiple", @style = "width:100%;height:35px" })
</div>
TypeofRoof is a string in my Quote class:
public string TypeofRoof { get; set; }
My problem is that when I submit my form with multiple items selected, only the first is saved:


What I'm after is to have the model comma separate the values, i.e.:
"Metal, Terracotta"