I am adding an ASP.NET Listbox to a custom list form in SharePoint Designer and trying to post the selected items back to a Lookup field when the form is saved. The reason for this is that the Multiple Select Lookup control is hideous, and the Listbox allows customisation with jQuery etc...

I've added a Data Source Control to the page, linking the Listbox to the same field as the Lookup, so that the Listbox displays legal values.

I've added the following line to the Listbox's attributes but with no luck:


Does anyone have any ideas?

N.B. I am restricted in that I can't use Visual Studio in this solution, only SharePoint Designer.dangerdave
what version of sharepoint? 2007 or 2010brian brinley

1 Answers


This should be able to be done in 2007 with a SharePoint Data Source. The SPDataSource control creates a dataset that you can then bind to your list control.

Chris O'Brien has a great tutorial regarding SPDataSource and binding to controls.