ASP网络客户端验证无效 [英] ASP net client validation not working
本文介绍了ASP网络客户端验证无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用asp.net c#创建了一个新站点。我的页面包含客户端
边验证以验证用户输入。在我的本地机器上这个
工作正常,但当我将我的网站移动到测试服务器时,
验证不想执行。如果我在页面上查看源代码我可以
看到java脚本已创建,但它不会执行。
我正在浏览IE中的网站,所以这不是一个浏览器问题,并且
验证适用于同一台服务器上的其他网站。
PLs帮助
I have created a new site, using asp.net c#. My pages contain client
side validation to validate the users input. On my local machine this
works fine, but when I moved my site to the test server, the
validation don''t want to execute. If I view source on the page I can
see the java script is created, but it don''t execute.
I''m browsing to the site in IE, so it is not a browser problem and the
validtation works on other sites on the same server.
PLs help
推荐答案
嗨汤姆
我认为你的浏览器可能没有在测试服务器上启用javascript。
访问此链接: http://dev.cybersessions.com/testbro .. .ript-IE55.html
问候
charmis
" Tom" < SH ***** @ hotmail.com>在消息中写道
news:11 ********************* @ z14g2000cwz.googlegro ups.com ...
Hi Tom
I think javascript may be not enabled in your browser in test server.
visit this link: http://dev.cybersessions.com/testbro...ript-IE55.html
regards
charmis
"Tom" <sh*****@hotmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
我使用asp.net c#创建了一个新站点。我的页面包含客户端
侧验证以验证用户输入。在我的本地机器上,这个工作正常,但当我将我的网站移动到测试服务器时,
验证不想执行。如果我在页面上查看源代码,我可以看到java脚本已创建,但它不会执行。
我正在浏览IE中的网站,所以它是不是浏览器问题,
验证适用于同一台服务器上的其他网站。
PLs帮助
I have created a new site, using asp.net c#. My pages contain client
side validation to validate the users input. On my local machine this
works fine, but when I moved my site to the test server, the
validation don''t want to execute. If I view source on the page I can
see the java script is created, but it don''t execute.
I''m browsing to the site in IE, so it is not a browser problem and the
validtation works on other sites on the same server.
PLs help
Tom让jscript为你工作吗?
Patrick
***通过Developersdex发送 http://www.developersdex.com ***
不要只是参加USENET ......获得奖励!
Tom did enabling jscript work for you?
Patrick
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
Tom,
一个常见的问题...
所有你需要做的就是投保那个aspnet_client文件夹,通常在
Inetpub \webroot中,被复制到项目的根文件夹中。要确认
,请检查spnet_client \ system_web \ 1_1_4322。您复制的文件夹
包含WebUIValindation.js。
谢谢。
Dan
汤姆 < SH ***** @ hotmail.com>在消息中写道
news:11 ********************* @ z14g2000cwz.googlegro ups.com ...
Tom,
A common problem...
All you need to do is insure that the "aspnet_client" folder, usually in the
Inetpub\webroot, is copied into the root folder of your project. To confirm
this, check the "spnet_client\system_web\1_1_4322" folder you''ve copied
contains "WebUIValindation.js".
Thanks.
Dan
"Tom" <sh*****@hotmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
我使用asp.net c#创建了一个新站点。我的页面包含客户端
侧验证以验证用户输入。在我的本地机器上,这个工作正常,但当我将我的网站移动到测试服务器时,
验证不想执行。如果我在页面上查看源代码,我可以看到java脚本已创建,但它不会执行。
我正在浏览IE中的网站,所以它是不是浏览器问题,
验证适用于同一台服务器上的其他网站。
PLs帮助
I have created a new site, using asp.net c#. My pages contain client
side validation to validate the users input. On my local machine this
works fine, but when I moved my site to the test server, the
validation don''t want to execute. If I view source on the page I can
see the java script is created, but it don''t execute.
I''m browsing to the site in IE, so it is not a browser problem and the
validtation works on other sites on the same server.
PLs help
这篇关于ASP网络客户端验证无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文