如何使用部分刷新来刷新一系列面板

发布于 2024-12-28 13:14:41 字数 107 浏览 2 评论 0原文

我有一个包含 6 个不同自定义控件的表单。每个 CC 内都有一些面板,这些面板根据第一个 CC 中的一组值进行渲染或不渲染。一旦回答了一组值,如何通过部分刷新(我不想进行完全刷新)同时刷新所有这些值?

I have a form with 6 different Custom Controls. Within each of these CCs are panels that render or not based on a set of values from the first CCs. How can I refresh all of them at the same time with a Partial Refresh (I do not want to do a Full Refresh) once the set of values is answered?

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

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

发布评论

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

评论(2

路还长,别太狂 2025-01-04 13:14:41

将所有 CC 放入 div 或面板中并刷新它,或使用 tim tripcony

http ://www.timtripcony.com/blog.nsf/d6plinks/TTRY-84B6VP

Put all your CC inside a div or panel and refresh that or use this from tim tripcony

http://www.timtripcony.com/blog.nsf/d6plinks/TTRY-84B6VP

最单纯的乌龟 2025-01-04 13:14:41

如果您使用 extLib 将所有自定义控件放入不同的动态内容控件中,则可以使用客户端或服务器端事件刷新它们。

XSP.showContent("dyn1","cc1");
XSP.showContent("dyn2","cc2");

If you put all your custom controls in different dynamic Content control using extLib you can refresh them all using client or server side events.

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