Sortable unordered list with ASP.Net
Hello I am needing to create an unordered list that uses jquery to make it sortable.
I want something like is shown here
How would I do this with ASP.Net? I thought I could just use almost nothing but HTML but it turns out that I need TextBox controls to be in each <li>
How would I m开发者_StackOverflow社区ost easily do this?
I think you can use Repeater control that has <li> and the TextBox controls in it's template.
I'd use jQuery UI. It looks like this is pretty much what you're looking for:
http://jqueryui.com/demos/sortable/
Putting a TextBox inside the <li>
shouldn't make a difference, the list will still be sortable
精彩评论