'sys' is undefined 错误.

今天在做TextBox验证时用到一个ValidatorCalloutExtender 控件,配置好后出现'sys' is undefined 这个错误, 查了一下,在web.config中加入以下代码就行了.

1 < httpHandlers >
2        < 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 "   />
3 </ httpHandlers >




你可能感兴趣的:(undefined)