Dual List Box
Create a [login to view URL] asp.NET server-side control which? offers two list boxes.? ? The left list box contains a number of items.? Between the two list boxes are four buttons (left, right, all left, all right).? When one or more items are selected in the left box and the right arrow pressed, the selected items will move to the right box.? This is standard dual - list box control behavior.
Items in the right box will have a text box associated with them into which a number may be entered.? This information will be updated back to the server (AJAX?)? so that other items on the page can be updated.
## Deliverables
The control will allow a developer to add it to a web page.? The "Source Listbox" (the left one) will be loaded by binding the control to a data source.? The left box will offer multi-select.? Once an item is selected it WILL remain in the left box and the user MAY choose to add the same item to the right box more than once.? The Right Button (>) will copy the selected item or items to the Right Box. ? The All Right (>>) button will move all items from the left box to the right box.? Items may be selected in the right box and the Left Arrow button (<)pressed to effectively remove items from the right box.? The All Left Arrow (<<) will remove all items from the right box.? Scroll bars will appear in the listboxes if the number of items exceeds the size of the box (standard list box behavior).?
Items in the right box will? be shown as text, in addition there will be a text box? into which the user will enter a quantity (decimal? number e.g.? 1.5).? ? When an entry is made? to the numerical text box, an event will be fired so that the programmer can perform a calculation or other action.? The? control? can enumerate the items in the Right? Box and allow both reading and? writing of data to the? text field as well as the numeric field.?
The number of visible rows of the list boxes will be the same for both boxes and be set as a characteristic of the control.