我目前正在开发 3.5(在使用 LINQ 时构建到 3.5)并将我的代码部署到 2.0 服务器。到目前为止,我在这方面取得了成功,但现在我正在尝试利用一些 ASP AJAX 工具,但我遇到了一个似乎无法解决的错误。
首先我收到
“未知的服务器标签‘asp:ScriptManager’。”
我将此添加到我的 web.config 控件部分:
"添加 tagPrefix="asp" 命名空间="System.Web.UI" 程序集="System.Web.Extensions, 版本=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
这产生了以下错误,我不确定如何纠正:
"The base class includes the field 'ScriptManager1', but its type (System.Web.UI.ScriptManager) is not compatible with the type of control (System.Web.UI.ScriptManager)."
Any thoughts or ideas on this one?