闲坐敲棋

有约不来过夜半,闲敲棋子落灯花

导航

vs 2005 使用 UpdatePanel 配置

Posted on 2009-05-25 10:18  闲坐敲棋  阅读(366)  评论(0编辑  收藏  举报

引入 System.Web.Extensions.Design.dll 和 System.Web.Extensions.dll 两个文件

webconfig 配置:-----------------------------------------

<assemblies></assemblies>之间加入 :
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 


<httpHandlers></httpHandlers> 之间加入如下:

<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="Microsoft.Web.Script.Services.ScriptHandlerFactory, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

----------------------------------------------------------
aspx页面加入 注册:
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>