Ajax控件工具包异常
本文关键字:异常 工具包 控件 Ajax | 更新日期: 2023-09-27 18:15:50
我正在使用ajax控件工具箱日历扩展程序,我得到以下例外:
调用栈位置:
AjaxConrolTollkit.DLL ! AjaxControlToolkit.ExtenderControlBase.Dispose ()
*源文件信息
Locating source for 'f:'TeamCity'buildAgent'work'80acd78aa4c25314'Server'AjaxControlToolkit'ExtenderBase'ExtenderControlBase.cs'. Checksum: MD5 {ee 1a 1d c3 d5 ca a 7d 84 6b 74 7f 51 e8 63 6b}
The file 'f:'TeamCity'buildAgent'work'80acd78aa4c25314'Server'AjaxControlToolkit'ExtenderBase'ExtenderControlBase.cs' does not exist.
Looking in script documents for 'f:'TeamCity'buildAgent'work'80acd78aa4c25314'Server'AjaxControlToolkit'ExtenderBase'ExtenderControlBase.cs'...
Looking in the projects for 'f:'TeamCity'buildAgent'work'80acd78aa4c25314'Server'AjaxControlToolkit'ExtenderBase'ExtenderControlBase.cs'.
The file was not found in a project.
Looking in directory 'C:'Program Files'Microsoft Visual Studio 10.0'VC'crt'src''...
Looking in directory 'C:'Program Files'Microsoft Visual Studio 10.0'VC'atlmfc'src'mfc''...
Looking in directory 'C:'Program Files'Microsoft Visual Studio 10.0'VC'atlmfc'src'atl''...
Looking in directory 'C:'Program Files'Microsoft Visual Studio 10.0'VC'atlmfc'include''...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: f:'TeamCity'buildAgent'work'80acd78aa4c25314'Server'AjaxControlToolkit'ExtenderBase'ExtenderControlBase.cs.
The debugger could not locate the source file 'f:'TeamCity'buildAgent'work'80acd78aa4c25314'Server'AjaxControlToolkit'ExtenderBase'ExtenderControlBase.cs'.
在这种情况下帮助我。提前感谢
拖放工具脚本管理器,当您从ajax工具包中拖放任何控件
将此代码添加到Web中。配置文件:
<handlers>
<add name="AjaxFileUploadHandler"
verb="*"
path="AjaxFileUploadHandler.axd"
type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/>
</handlers>
这就解决了我的问题
使用"ToolkitScriptManager"代替"ScriptManager"