How to drag and drop items in one listbox to another listbox in ASP.NET?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SuriAug05
    New Member
    • May 2008
    • 1

    How to drag and drop items in one listbox to another listbox in ASP.NET?

    Hello,

    I have created one web page. In that i have used two listboxes. Now i want to drag an item from one listbox and drop the same item in another listbox. And also want to rearange the items without any help of buttons or any other controls.

    can anyone help me in this problem.



    Thanks,

    Surya
  • snester
    New Member
    • Oct 2008
    • 12

    #2
    You can use

    ListBox1.Items. Add("new item");

    and

    ListBox1.Items. Remove(theitem) ;

    to change items in the listbox at runtime.

    Comment

    Working...