Web Host 更新整个站点而不是仅 UpdatePanel

发布于 2024-08-18 02:40:48 字数 369 浏览 1 评论 0原文

我在寻找问题根源时遇到了一些问题,但现在看来,也许你知道神奇的答案。

我正在本地计算机上使用 AJAX updatePanel 运行这个 asp.net 站点,一切都工作正常,因为它是我开发的地方。现在,几天前,我将文件上传到我的网络主机并分配了每个数据库,并且没有错误消息,即使它仍然设置为调试模式。但有一个问题,每当我单击一个触发我的 asp.net AJAX updatePanel 更新的元素时,整个站点都会更新(它不应该更新,只有面板),并且每次都会调用我的 jQuery 的(文档).ready以及。

感谢您的帮助,我不知道为什么这不能在线工作,也不知道为什么它可以在我的本地计算机上工作。

我选择不上传代码,因为我不知道问题出在哪里,请随时询问代码,我会回复:)

I'm having some problem finding the source of the problem, but here it goes, maybe you know the magic answer.

I'm running this asp.net site with an AJAX updatePanel on my local machine, and everything works just fine, since it's where I developed it. Now, a few days ago, I uploaded the files to my web-host and assigned every single DataBase, and there is no error messages, even though it's still set to debug mode. There is a problem though, whenever I click an element which triggers my asp.net AJAX updatePanel to update, the whole site is updated(which it should not, only the Panel), and my jQuery's (document).ready is called every time as well.

Thank you for any help, I have no idea why this does not work online, nor' do I know why it does work on my local machine.

I have choosen not to upload the code, since I have no idea where the problem might lie, please feel free to ask for the code and I shall reply :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半透明的墙 2024-08-25 02:40:48

您是否检查过您的网络主机:

a) 正在运行 .net 3.5
b) 是否安装了 .net 2.0 的 Ajax 扩展

...并且您正在使用相同的本地测试?

Have you checked that your web host either:

a) Is running .net 3.5
b) Has the Ajax extensions for .net 2.0 installed

...and that you are testing locally with the same?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文