开发者

Sortable unordered list with ASP.Net

开发者 https://www.devze.com 2023-01-02 05:38 出处:网络
Hello I am needing to create an unordered list that uses jquery to make it sortable. I want something like is shown here

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

0

精彩评论

暂无评论...
验证码 换一张
取 消