Error Validation on Two ListBoxes
Posted on 2011-02-26
I have two list boxes in my form, i want to implement the below error conditions over the same,
1) I have one Remove button for both of them, if the user didn't select any item in the either of the list boxes than it should prompt a message that, please select an item to remove
If user selects one item in each of the listbox, than it should remove both of them
2)if i am swapping the value from one list box to another, it should make sure that it has no duplicate in the resulting list box.