Actually I think it perform a partial postback but, it does fake a full
postback by invoking all methods inside the cycle. The point is that if you
try to perform a change inside a cycle method that its not part of the
partial (but its part of the full cycle), it will be ignored.

On Tue, Jan 11, 2011 at 12:13 PM, Jamie Fraser <[email protected]>wrote:

> Even using AJAX your page still goes through the full postback cycle.
>
> Why are you trying to remove postbacks? The web is built on them. You could
> try doing everything in JavaScript but its really not worth the effort.
>
> On Mon, Jan 10, 2011 at 9:08 PM, S <[email protected]> wrote:
>
>> 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
>
>
>


-- 
Atenciosamente,
Paulo Roberto S. Pellucci

Reply via email to