JavaScript 与 UpdatePanel 冲突
我正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我要做的是重写使用更新面板的页面,以便它使用直接的 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.