toolkitscriptmanager跟ScriptManager区别

今天使用了下微软自带的AJAX控件,发现在页面上用ScriptManager这个时候会报错,提示的异常信息是版本不对,后来查了查官方说明:

Notes:
- The current version of the AJAX Control Toolkit is not compatible with ASP.NET 2.0. The latest version that is compatible with ASP.NET 2.0 can be found here: 20229.
- Pages using controls from AJAX Control Tookit .NET 3.5 must use the ToolkitScriptManager, rather than the ASP.NET ScriptManager.
- AJAX Control Tookit .NET 4 cannot be loaded in Visual Studio 2008. It requires Visual Studio 2010.
- When using the Ajax Control Toolkit with Visual Studio 2008, you must have Visual Studio Service Pack 1 installed.
- Instructions for contributing a bug report can be found at http://www.asp.net/ajaxlibrary/act_contribute_bug.ashx
大致意思是说:VS2008中脚本管理要用ToolkitScriptManager,而不能用ScriptManager,.net4.0中的不能在vs2008中用

 

posted @ 2010-12-22 12:01  郭远威  阅读(1157)  评论(0编辑  收藏  举报