简体   繁体   English

虚拟目录和ASP.NET AJAX

[英]Virtual Directory and ASP.NET AJAX

I have setup a virtual directory in one of my websites but the updatepanels are not taking effect, they are still reposting the whole page. 我已经在我的一个网站上设置了虚拟目录,但是updatepanel无效,它们仍在重新发布整个页面。 The problem seems to be the virtual directory because I tried setting it up as a website instead and the updatepanels worked... but when I set it back as a virtual directory they do not work anymore. 问题似乎是虚拟目录,因为我尝试将其设置为网站,而updatepanels起作用了……但是当我将其设置为虚拟目录时,它们不再起作用了。

Any ideas? 有任何想法吗?

Thank you! 谢谢!

Isabelle 伊莎贝尔

Have you tried this: 您是否尝试过:

http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx

Its a known problem that will cause AJAX to not work. 它是一个已知问题,将导致AJAX无法正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM