在VS2005中如果使用AJAX Extensions的元件
可是卻發生java script出現 Sys未定義的錯誤
Microsoft JScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.
可以在Web.Config中 下面加入以下Code:
http://onlybestpage.blog.sohu.com/74482751.html
可是卻發生java script出現 Sys未定義的錯誤
Microsoft JScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.
可以在Web.Config中
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" 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"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
http://onlybestpage.blog.sohu.com/74482751.html
留言