JavaScript 与 UpdatePanel 冲突

发布于 2024-07-24 05:57:08 字数 213 浏览 2 评论 0原文

我正在使用 ReportViewer 控件,该控件经常遇到与 ASP.NET 中的 UpdatePanels 关联的 javascript 问题。 我创建了第二个页面,非常简单,没有更新面板。 链接两个页面的最佳方式是什么? iframe 听起来很糟糕。 然而,必须运行报告,然后返回结果链接听起来也很糟糕。 在这种情况下,将用户引导至简单显示将不起作用。 有什么建议吗,我在这里看到的东西有问题吗?

I'm using a ReportViewer control which often runs into problems with the javascript associated with UpdatePanels in ASP.NET. I've created a second page which is very simple, no Update Panels. What's the best way to link the two pages? An iframe sounds bad. However, having to run a report, then be returned a link to the results also sounds bad. Sending the user to the simple display won't work in this case. Any suggestions, am I seeing things wrong here?

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

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

发布评论

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

评论(1

野侃 2024-07-31 05:57:08

我要做的是重写使用更新面板的页面,以便它使用直接的 javascript Web 方法调用。 这将消除将报表查看器控件放在单独页面上的需要,因为您不再需要更新面板。

What I would do is rewrite the page that uses an update panel such that it uses straight javascript web method calls. This would remove the need for the reportviewer control to be on a seperate page because you would no longer need an update panel.

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