Glossary Item Box
Object that is used to represent WebAsyncRefreshPanel on client.
findControl |
Obtains reference to a child html element. Parameters childElementID
Value of id of an html element which is located within this WARP Panel. Returns
Reference to html element or null. |
getElement |
Obtains reference to main html element. Returns
Reference to the DIV html element which represents this WARP Panel. |
getID |
Obtains value of ID. Returns
Value of the ID which is used to identify this WARP Panel on client. In most cases it should match with the value of ClientID used on server. |
getProgressIndicator |
Obtains reference to object which allows to customize progress indicator. Returns
Value of the UniqueID which is used on server. |
getUniqueID |
Obtains value of UniqueID. Returns
Value of the UniqueID which is used on server. |
| refresh |
Triggers a forced asynchronous post back for WebAsyncRefreshPanel. function onButtonClick()
{
var warp = ig$("WebAsyncRefreshPanel1");
if(!warp)
return;
warp.refresh();
} |
| setTimer |
Triggers an asynchronous post back, after specified interval, for WebAsyncRefreshPanel after response from previous post back. Parameters interval
Time in milliseconds. function onButtonClick()
{
var warp = ig$("WebAsyncRefreshPanel1");
if(!warp)
return;
warp.setTimer(1000);
warp.refresh();
} |
| getTimer |
Obtains the value of interval that was specified by setTimer method on client or by RefreshInterval property on server. function onButtonClick()
{
var warp = ig$("WebAsyncRefreshPanel1");
if(!warp)
return;
alert("Interval: " + warp.getTimer());
} |