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.
Having trouble with Php ajax update panel
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.
Â
Â
Having trouble with Php ajax update panel
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.
Â