Model Binding to an Unordered List, ASP.NET MVC 2
Posted
by Stacey
on Stack Overflow
See other posts from Stack Overflow
or by Stacey
Published on 2010-03-26T22:28:57Z
Indexed on
2010/03/26
22:33 UTC
Read the original article
Hit count: 515
Given action result ...
public ActionResult Create( // ... )
{
}
with HTML
<ul>
<li id="1">Some Item</li>
<li id="2">Some Other Item</li>
</ul>
Is there any way I can post the li items back to the controller? The list is populated by a jQuery UI "Sortable" listbox.
© Stack Overflow or respective owner