2016-02-23 42 views
2

我有一個AJAX控件工具包文件上傳(版本15.1.4),允許我上傳文件到我的ASP.Net Web應用程序。這個工作很好,直到本週。從昨天開始,只要我選擇了一個文件,上傳就會產生一個JavaScript錯誤。ASP.NET AJAX控件工具包文件上傳在腳本中拋出錯誤resources.axd

Object doesn't support property or method 'setText' 
ScriptResource.axd

:在Web應用程序

fileInfoContainer.appendChild(fileInfoText); 
fileInfoContainer.appendChild(fileStatusText); 

$common.setText(deleteButton, Sys.Extended.UI.Resources.AjaxFileUpload_Remove); <== here 
$addHandlers(deleteButton, { 
    'click': Function.createDelegate(this, function() { 
     onRemoveItem(self); 
    }) 
}); 

我不記得我這個頁面上改變任何東西(在過去一週沒有碰過),另一個頁面有一個類似的文件上傳,就像一個魅力..

有沒有人知道爲什麼ScriptResource引發此異常? 在此先感謝:)

回答

相關問題