我的AjaxPro项目出现以下错误:
Error: this.onTimeout is not a function
Source: http://localhost:3405/ajaxpro/core.ashx
Line: 407我知道这与AjaxPro的发布有关,但是你们有没有不包含这个错误的版本?或者我该如何纠正它呢?我已经从AjaxPro.info下载了最新版本,但没有任何运气。
发布于 2011-12-01 17:28:06
请使用异步调用,就像JavaScript中那样:
function getServerTime()
{
test_Default8.GetServerTime(getServerTime_callback); // asynchronous call
}
// This method will be called after the method has been executed
// and the result has been sent to the client.
function getServerTime_callback(res)
{
alert(res.value);
}这将解决您的问题。
发布于 2009-08-12 11:53:25
你可以试试这个:http://groups.google.sc/group/ajaxpro/browse_thread/thread/da617d3dc31d65cb
https://stackoverflow.com/questions/1046293
复制相似问题