How do you remove the item from the list box control?
Posted on 2006-05-30
I'd like to move the selected item (single selection list box) from lstAvailableTemplates to lstAssignedTemplates.
When the user press the button "Add", the item is supposed to move from one list to another. However, I can see the new item being added to the destination, but NOT being removed from the lst lstAvailableTemplates (list box control).
Anyone knows why?
protected void btnAdd_Click(object sender, EventArgs e)
string item = lstAvailableTemplates.SelectedItem.ToString();