I'm not sure about this, but I think the callback is what happens when the page is sent to the server.
, , JavaScript.
Function.CreateDelegate() .
, JavaScript. "this", , , - , .
, JavaScript, - . "this" JavaScript, Object "this", , : .
, JavaScript apply. , JavaScript attachEvent/attachEventListener ( $addHandler() Ajax.NET Framework), apply() attachEvent/attachEventListener. , "this" JavaScript , .
Function.CreateDelegate() , apply .
:
Function.createDelegate = function Function$createDelegate(instance, method) {
var e = Function._validateParams(arguments, [
{name: "instance", mayBeNull: true},
{name: "method", type: Function}
]);
if (e) throw e;
return function() {
return method.apply(instance, arguments);
}
}
, apply(). , , . , createDelegate .
, , , createDelegate() - , JavaScript , .
, - , , . __doPostback . 2 ... , / , / . .
-Frinny