更新面板触发器未触发

发布于 2024-08-19 17:03:51 字数 199 浏览 4 评论 0原文

我有一个简单的更新面板,其中有一个按钮可以刷新单选按钮控件,最近几天我注意到,由 ASP.Net 生成的一些包含我的控件的页面不会触发触发器来执行回发。我注意到我的缓存页面上存在这种行为,因为如果我加载未缓存的同一页面,则更新面板可以正常工作,并且如果我终止缓存并重新缓存页面,则更新面板可以正常工作,这会变得更加奇怪,所以看起来如果页面的第一个缓存实例缺少使更新面板能够工作的内容。

I have a simple update panel with a button that refreshes a radio button control, I recently noticed a few days now that some of the pages generated by ASP.Net containing my control the trigger does not firing to perform the post back. I have notice this behavior on my cache pages because if I load the same page not cached the update panel works, and to make this even more odd if I kill the cache and re cache the page the update panel works fine, so it seems as if the first cached instance of the page was missing something that enables the update panel to work.

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

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

发布评论

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

评论(1

指尖上得阳光 2024-08-26 17:03:51

如果您对按钮本身使用更新面板,那么它可能会起作用,也可能不起作用,但是当您对整个页面使用更新面板时,它会起作用............

If you are using update panel for button itself then it may work or not but when you use update panel for the entire page it works............

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