积极答复者
vs2008 自带的web 发布工具 不能执行javascript脚本

问题
-
我用我机器上的 vs2008建了一个web网站。在其中的一个aspx页面的pageload中写入如下代码Response.Write("<script>alert(333);</script>");。然后 运行当前aspx页面,使用vs2008自带的asp.net development server(就是vs2008自带的web发布工具)进行页面访问,页面是能正常显示,不过我们js脚本却不执行,查看源代码,也有那段js脚本。我的vs2008 打了sp1的补丁,我想问下,这个原因是怎么回事?因为本地没有iis,不然就不需要这个自带的web发布工具了。
答案
全部回复
-
加一个Mark of the Web看看
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP