I am using visual studio 2005 with c# for an AJAX enabled asp webpage.
I have an AJAX update panel with one textbox, one command button and one listbox. The listbox is databound with a stored procedure that takes one paramter and it uses the textbox for this (the stored procedure basically performs a search based on the textbox). When you click the command button it calls performs listbox.databind() and listbox.visible = true. The listbox updates with about 8000 records in about 1 second. The listbox is set to autopostback=true and I have the event selectedindexchange execute the code textbox.text = listbox.selectedvalue; listbox.visible = false; This takes at least 10 seconds to complete :( or instead if I just go to update the listbox again using the command button it takes about 10 seconds to update. If though I do select an item in the listbox and wait for the listbox to disappear and then press the command button again it executes in about 1 second again.