As a newbie in Ajax. So I ask somebody for help.
I have 2 listboxes (properties: selected mode = multiple, autopostback = true) and 2 buttons. The items of both Listboxes come from database.
The item(s) of the 2nd listbox are some of the items of the 1st listbox.
What I want is: I can 'move' the item(s) between 2 Listboxes by clicking the buttons.
My code workt goed, but als we know, the screen do a flicking. I know that we can avoid the flicking with Ajax. But I don't know how?
I have googled, but find no answer in detail which can guide me.
Here is the process:
When page_load, the 2 buttons are not enabled (enabled = false) and the item(s) of the 2 listboxes are populated from database. When 1 of the items in the 1st listbox is selected, the 'right arrow' button is set to enabled = true. When this button is clicked, the selected item(s) will move to 2nd listbox. The selected item(s) in 1st listbox will be set to enabled = false and the 'right arrow' button set to enabled = false.
When 1 of the items in the 2nd listbox is selected, the 'left arrow' button is set to enabled = true. When this button is clicked, the selected item(s) will be remove from 2nd listbox and will appear in 1st listbox by setting to enabled = true and the 'left arrow' button set to enabled = false.
View Complete Post