有很多朋友在用.NET的时候会遇到这样的问题
无法找到脚步库\"/aspnet_
client/system_web/1_1_4322/webuivalidation.js
这个问题对新手是个不小的打击,让新手摸不到头脑,因为按提示做了还是无法解决,而真正的解决方法是以下概述:
The Validation controls make use of a JavaScript script library that is automatically installed on your server when you install the .NET framework. This library is located in a file named WebUIValidation.js.
Validation控件要用到在你装.NET framework时已经自动安装到你的服务器端了JavaScript的脚本运行库.这个运行库文件在本地文件夹中被命名为WebUIValidation.js
By default, WebUIValidation.js is installed in a directory named aspnet_client located beneath your Web server\"s wwwroot directory. If you change the location of your root directory, you need to copy the aspnet_client directory to the new directory; otherwise, the validation script will not work. If WebUIValidation.js can\"t be found, you receive the error Warning! Unable to find script library \"WebUIValidation.js\"
默认情况下,WebUIValidation.js安装的路径是本地Web服务根目录wwwroot中的aspnet_client文件夹中.如果你改变了本地的根目录路径,你就需要把aspnet_client有WebUIValidation.js文件的文件夹拷贝到新的目录;不然,validation脚本就不能工作.如果WebUIValidation.js不能被找到,你就会收到错误警告!提示不能找到WebUIValidation.js文件