0

我的 AjaxPro 项目出现以下错误:

Error: this.onTimeout is not a function
Source: http://localhost:3405/ajaxpro/core.ashx
Line: 407

我知道这与 AjaxPro 的发布有关,但是你们有没有一个不包含该错误的版本?或者我该如何纠正?我已经从 AjaxPro.info 下载了最新版本,但没有任何运气。

4

2 回答 2

1

请使用异步调用,例如在 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);
}

这将解决您的问题。

于 2011-12-01T09:28:05.880 回答
0

你可以试试这个: http ://groups.google.sc/group/ajaxpro/browse_thread/thread/da617d3dc31d65cb

于 2009-08-12T11:53:25.043 回答