Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello, is it possible to bind the DropdownListFor with a property of a instance about RegisterModel, that is not part of the Model?
For exemple:
@Html.DropDownListFor(x => registerModel.Property[i].Value, new SelectList(ListItem, "Value", "Text"), "Select...",)
I correctly display the list in the front-end, but the selected value does not go into binding. How come?
Thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Html.DropDownListFor binding
Hello, is it possible to bind the DropdownListFor with a property of a instance about RegisterModel, that is not part of the Model?
For exemple:
I correctly display the list in the front-end, but the selected value does not go into binding. How come?
Thanks
is working on a reply...