jekes
Posts: 36
|
Posted: 11/12/2013, 3:46 AM |
|
Hi,
I do this with an Extjs task manager object
In the client onload event, I add this custom code
var task =
{
run: function() {
$('*:ccsControl(Panel1)').ccsUpdatePanel("refresh");
},
interval: 10000 //1 second
}
Ext.TaskManager.start(task);
Replace the function according to your version of codecharge for CCS 5.0
var Panel1 = $("Panel1");
if (!Panel1) return;
AjaxPanel.reload(Panel1);
Don't forget to include the extjs library at the beginnig of your page.
|