Having trouble with Php ajax update panel

Asked By 0 points N/A Posted on -
qa-featured

I'm looking to regularly update a grid based on a timer.  Could someone please teach me about Php ajax update panel so I could avoid page refresh?  I save data to SQL DB everytime an input changes value.  When being updated rapidly, it shows a blank screen.

SHARE
Best Answer by Lanford Wilton
Best Answer
Best Answer
Answered By 0 points N/A #196304

Having trouble with Php ajax update panel

qa-featured

Hi,

I understand your problem let’s take an example for better understand.

Example:

Let’s consider you have two update panels like panel A and panel B with a grid inside each panel. Let’s consider your page name is mytest.ccp. First step is to create a page and drop your panel update into it. Second step is place your grids in your update panels. Third step is to create a JavaScript file and consider file name is js/mytesttimer.js and place the following JavaScript code inside. You can adjust time interval but here we take 10 seconds.I am going to attach a file in which code is attached.Hope this helps you.

 

 

Answered By 0 points N/A #196302

Having trouble with Php ajax update panel

qa-featured

Hello,

KoolPHP is a great site that combines PHP and Ajax to create some cool features. 

The site has good examples and documentation for the methods used to create any feature such as:  A calendar, Updated Panel, a Form, a Chart and a Grid. Another solution is to check the file Timer.txt that I attached to this message.  

You should insert it as JavaScript in you PHP file.

I hope  this is helpful.

 

Login/Register to Answer

Related Questions