0
It is possible to make a Post of the values of a Listbox
without them being Selected?
My Listbox:
@Html.ListBoxFor(m => m.SelectedCatequistas, new MultiSelectList(ViewBag.SelectedCatequistas, "PessoaID", "Nome"), htmlAttributes: new
{
@class = "form-control",
Size = 15,
style = "width: 100%;"
})
If you mount the listbox with the values coming from the server why do you want to send them back? They are already there.
– Ricardo
When I edit values if I do not select them it does not reach the controller.
– Simão Lopes