CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Auto panel refresh

Print topic Send  topic

Author Message
Waspman

Posts: 948
Posted: 11/11/2013, 5:34 AM

I got it working using this...

http://forums.yessoftware.com/posts.php?post_id=117451&...o+refresh+panel


But it loads the whole page back into the panel.


Any ideas?


Cheers t
_________________
http://www.waspmedia.co.uk
View profile  Send private message
Waspman

Posts: 948
Posted: 11/11/2013, 9:49 AM

Sorted. Don't know how:)
_________________
http://www.waspmedia.co.uk
View profile  Send private message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.