Hello,
I use .NET ajax callback mechanism (System.Web.UI.ICallbackEventHandler, GetCallbackEventReference/RegisterClientScriptBlock pair in .NET) to make some computation update UI smoothly.. and not to use full postbacks.. besides the activities some infragistics control i.e ultrawebgrid, ultrawebtab etc. also need to be updated smoothly, but to perform that I put them in a WARP and use its .refresh() method.
In the cas above, to run my custom computation , I first kick a .NET callback to process my custom code (some dbupdates.. some datastructure updates etc..) and then to transfer the changes to infra controls, kick second ajax using warp.
Two ajax callbacks getting too much overhead in heavy usage.. To optimize it I need a way tı combine them in one ajax callback..
Is there any way to combine that .NET callback mechanism with WARP 's one? or is there a infragistics equivalent of .NETs GetCallbackEventReference/RegisterClientScriptBlock pair to comprise WAPR or a WARP useage to comprise the computational callback process defined above..
Thanks..
Hello Hakan,
The UpdatePanel ahs an Update method that can be used for refreshing it without additional callback from the client.
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you I will try, I just want to confirm that, when there are several update panels on my page, say one for ultrawebgrid, several other panels for some groups of controls (asp.net and/or infragistics) .
That organization implies, sometimes I do not want to refresh grid, but sometimes I do..
But also there times that I need to decide at the code-behind side to refresh ultrawebgrid or not... and that refreshment should not require "a second callback" auto-issued through a client-side javascipt.
Hi,
Let us know if you have further questions with this matter.
I think it is better not to use two different callback mechanisms, and maybe you should consider replacing the warp with an update panel. You can find useful information about using warp vs. using update panel here:
http://forums.infragistics.com/forums/p/17538/64732.aspx#64732
Hope this helps.