QCubed - A PHP5 rapid development MVC framework.
Home  |  Updates

QAjaxAction

AJAX Timeout Handler for QAjax Actions

Hello, Please can someone tell me how to implement an ajax timeout handler for QAjax Actions?
What I mean is this, sometimes, while executing a QAjax actions, the network goes off and the wait icon continues spinning forever, I want to be able to alert my users that the request timed out or something.

Please, I appreciate your help. Thank You.

Ajax Problems - two things to try

I've had some problems getting ajax to work here's two helpfull things to try if your QAjaxAction/QAjaxControlAction is not working as you expect

1) http://www.qcodo.com/forums/topic.php/2358/1/

the $this->RenderBegin() and $this->RenderEnd() must be not trapped inside an element on the page, like a table

HomePage

<?php
$this
->RenderBegin();
?>

<?php
$this
->pnlLeft->Render();
?>

<?php
$this
->pnlRight->Render();
?>