Hello,
Ajax stops working after deleting the last item from Listbox
I have listbox, panel and 2 buttons- the first button deletes items from the listbox using java script (1) and the second button is used to send ajax requests in order to hide and show the panel (2).
While deleting the items from the listbox, the ajax buttons works and hides/shows the panel but after deleting the last item from the listbox, the ajax stops working.
There is no error in the client side and neither on server side- I add break points at the server side in the Page_Load, I notice the function wasn't even called.
(1)-listBox.deleteItem(selectedItem);
(2)- panel.visible=false/true
Thanks,
Ajax stops working after deleting the last item from Listbox
I have listbox, panel and 2 buttons- the first button deletes items from the listbox using java script (1) and the second button is used to send ajax requests in order to hide and show the panel (2).
While deleting the items from the listbox, the ajax buttons works and hides/shows the panel but after deleting the last item from the listbox, the ajax stops working.
There is no error in the client side and neither on server side- I add break points at the server side in the Page_Load, I notice the function wasn't even called.
(1)-listBox.deleteItem(selectedItem);
(2)- panel.visible=false/true
Thanks,