How can I implement the multi look up select list items functionality in SharePoint using asp.net C#?

Please help me with some code, I am using two list boxes and have added a add remove button on the page, but I have set postback true on listbox item.

So the page posts back once I select any item. I do not want this to happen as I just want to move items from one listbox control to another.

I have used JavaScript to move items but since lookup items are rendered like 88;#name, I am not able to save it, as JavaScript will only move the item and it will not consider it as lookup item.

In short I just want a nice solution to implement the below functionality in an asp.net c# page.

enter image description here

1 Answer 1


How are you fetching values for left side list box? Anyway you should be able to do this using normal html list box and javascript to move items left to right.

  • I am using a list to load the values into the left listbox Yes i can move, but since its a lookup while saving the data back to the list it will throw an error, as lookup is rendered in a different way
    – Avinash
    Commented Jul 24, 2014 at 18:24
  • so can you clarify what exactly is the issue when you copy items from left to right what is the issue? you can always manipulate the values while posting the data using jquery/javascript.
    – Nik
    Commented Jul 24, 2014 at 18:29
  • The items in my listbox are coming from a SharePoint List, so when it is rendered it will be rendered as <option value="1">SP
    – Avinash
    Commented Jul 24, 2014 at 18:34
  • Ok you can always manipulate what you want to show in list box using js..
    – Nik
    Commented Jul 25, 2014 at 4:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.