For each each item available i render a partial view, in the partial view I have a checkbox. The purpose is so that the the user can select multiple items at once, then when they hit delete all the items selected will be deleted. Checkbox in my partial view is not within a form currently its just like:
<%= Html.CheckBox("IsSelected", Model.IsSelected)%>
So it displays correctly, but does nothing.
I asked a question previously about binding the value from a model to a checkbox and that worked fine. I did:
<%= Html.CheckBox("["+itemx+"].IsSelected", x.IsSelected) %>
But now i have create the partial view i was wondering how i would tie this all together and get the values from the partial view?
Thanks.