I have a div which is working as a jQuery Dialog
box. Inside that I have two asp:ListBoxes
and a asp:button
. I want to select an Item from the ListBox1
and when clicking the button
that Item should move to ListBox2
. But when I clicking on the button Postback
occurs and closes the jQuery Dialog.
How can I solve this ?
Put an UpdatePanel
"inside" the Dialog Box and put asp:ListBoxes
inside UpdatePanel
so you prevent page from doing refresh and also Dialog Box doesn't disappear because it's outside of UpdatePanel.