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:
__designer:bind="{ddwrt:DataBind('i',concat('ff5',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@SD_x0020_KB_x0020_Article')}"
Does anyone have any ideas?