hi!
i have a listbox that is created (with items in it) in the aspx file, on the same form i have a button (html oldfashion input type) that has a OnClick event attached, the method attached to that event removes the item that is selected from the listBox - just to emphasis, it is done by Javascript code, no post back to the server - the item is deleted successfuly, BUT when i post back to the server the items are still there, i am not so fammiliar with the asp.net page lifecycle, but i think it is some how responsible for the problem, something with the viewstate? i dunoo..
(right now i'm using a hidden field, all of the items values are written into it in the client side , and then i read it on the server side, i think it's a ugly way! yak!)
help? :)
another thing!
is there a way to reset the listbox to it's start point in the client side? without writing a method that removes all the items and add them agian!
...
Go to the complete details ...