2009-06-25 11 views
0
私は私のAjaxProプロジェクトで、次のエラーを取得しています

AjaxProとOnTimeoutパスエラー

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

私はAjaxProのリリースとは何かである知っているが、あなたがたのうちにはないバージョンを持っていませんそのエラーが含まれていますか?または、どうすれば修正できますか? AjaxPro.infoから最新バージョンをダウンロードしました。

答えて

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); 
} 

これはあなたの問題を解決します。

関連する問題