So in my last post I was asking how to build a tree in memory and use
it without going back to DB again and again. I just took the whole
table in memory used by that table is going to be low and well the
requirement I was told was such that I had to use in-memory
structure.

Anyway now I am trying to improve the code by removing the postback
calls. I am not sure if I am doing this right so please help me out
here. I have put a listbox control on the page and enabled
AutoPostBack for that control. Now what I would ideally like to do is
use Ajax and just update the contents of the listbox with the new
contents as soon as the item is selected in the listbox. Right now
with every click the control posts back the page and retrieves the
info from memory. Is there any more efficient way to refresh the data
in the listbox using ajax ?

Thanks
- SM

Reply via email to