Link to home
Start Free TrialLog in
Avatar of ApexCo
ApexCoFlag for United States of America

asked on

Moving a Listview item from one ListView to another?

What is the recommend best practice on moving items between listviews?

I would like to wire up say, an image button for each row and then onClick of that move that row to another listview and remove from the parent.

Is this something that can be accomplished through jQuery or will it need to be in code-behind?
Avatar of scottlafoy
scottlafoy
Flag of Canada image

Im not sure if this would help but for list box in the code behind you could probably use something like:

            listBox2.Items.Add(listBox1.SelectedItem);
            listBox1.Items.RemoveAt(listBox1.SelectedIndex);

on button click
ASKER CERTIFIED SOLUTION
Avatar of leonthelion
leonthelion

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial