grefly's Stuff

Home » grefly (1 trail)
grefly's Stats (public trails only):
Trails created: 13
Marks created: 28
Views received: 340
Positive ratings: 0
Negative ratings: 0
Comments received: 0
Comments left: 0
grefly
grefly's Trails: recursively    (view all)

You can get around the error when recursively calling another callback inside a callback handler by delaying the call using window.setTimeout.

example:

BEFORE

function MyCallbackHandler(arg,context) {

 WebForm_DoCallback(......);

}

AFTER

function MyCallbackHandler(arg,context) {

 window.setTimeout("WebForm_DoCallback(......);",0);

}

Tags: docallback, mycallbackhandler, callback, webadf, webform, ...
A trail of 2 pages