Postback not updating bound listbox
But then because I'm not using List Box For and the data is sitting inside a model class (Model.
Departments) for example, I don't get model binding on the way back to my controller and hence the property is null.
No matter what I do, I cannot get selections to occur on the List Box For.
Tags, in fact, anything other than Tags or Project. I don't get why this would cause a problem (other than that it matches the entity name), and I'm not good enough at this to be able to dig in and find out.
In your first example, the listbox is attempting to bind to Model. Categories for your strongly typed Model which has been provided to the page (using the lambda notation).
I'm not sure what the second parameter in the List Box For is doing though.
To unblock a file, right click on it, and select properties, and then select the ‘unblock’ button.
I also created a control on a form bound to that list box. I also created a control on a form bound to thatlist box.