部署工具:
AjaxControlToolkit-Framework3.5
第一步:
把2个工具下载到本地,解压到服务器.把AjaxControlToolkit-Framework3.5SP1\SampleWebSite\Bin里面的AjaxControlToolkit.dll放到GAC里面,然后打开stsadm.ajaxifymoss文件夹,运行deploy.cmd,之后再运行upgrade.cmd
第二步:
使用stsadm运行ajaxifying(默认在C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN)
全部命令如下
- add asp.net ajax to web.config
stsadm -o addajax -url http://your.moss.webapplication/
-remove asp.net ajax from web.config
stsadm -o removeajax -url http://your.moss.webapplication/
- add .Net 3.5 ajax to web.config
stsadm -o addajax35 -url http://your.moss.webapplication/
-remove .Net 3.5 ajax from web.config
stsadm -o removeajax35 -url http://your.moss.webapplication/
最后要在web.config里面添加
<SafeControl Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TypeName="*" Safe="True" AllowRemoteDesigner="True" />
大功完成,祝你一番顺利哦,呵呵