Hi,
I have a page with 2 WebAsyncRefreshPanel. 1st one contains some buttons, dropdownlist and checkboxes and 2nd one contains a WebGrid. Internally data changes in data source from other pages and grid can be edit from this page too. I need to show updated data into the page periodically searching that is there is any changes. If changes happen then I need to reload the page again without any flick. timer control may use in this case. How to use timer control in this scenario? please help me out.
Thanks in advance.
HI Maxum,
The Warp has a way to set its own timer on the Client-Side. Use the setTimer method.
Here is a code snippet:
Triggers an asynchronous post back, after specified interval, for WebAsyncRefreshPanel after response from previous post back.
interval
Time in milliseconds.
function onButtonClick() { var warp = ig$("WebAsyncRefreshPanel1"); if(!warp) return; warp.setTimer(1000); warp.refresh(); }
Here is a help link to the Warp CSOM
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/WebAsyncRefreshPanel_Object_CSOM.html