I have a report that is inside of a multiview. The first view is the criteria and the second is the report. This used to work just fine. I recently upgrade the project to VS2010 without touching the reports and it continued to work. Today I updated the report to be a 2010 rdlc and it's not working anymore.
我有一个多视图内的报告。第一个视图是标准,第二个是报告。这曾经工作得很好。我最近将项目升级到VS2010而没有触及报告,它继续工作。今天我将报告更新为2010年的rdlc,它已经不再适用了。
If I move the report out of the multi-view and just place it somewhere on the page it works just fine. How can i cause the report to load on postback? I am adding a parameter to my object data source in the code behind so I can see that when the report is outside the multiview the select event gets triggered; but it does not get triggered when the report is inside the multiview.
如果我将报表移出多视图并将其放在页面上的某个位置,它就可以正常工作。如何在回发时加载报告?我在后面的代码中向我的对象数据源添加了一个参数,所以我可以看到当报表在多视图之外时,select事件被触发;但是当报告在多视图中时,它不会被触发。
What can I do to cause the report to load on postback when it becomes visible?
如果报告变得可见,我该怎么做才能使报告加载回发?
1 个解决方案
#1
1
Finally found a place that had the answer. Read this blog if you are curious: http://blogs.msdn.com/b/brianhartman/archive/2010/11/16/the-invisible-reportviewer.aspx
终于找到了一个有答案的地方。如果您感到好奇,请阅读此博客:http://blogs.msdn.com/b/brianhartman/archive/2010/11/16/the-invisible-reportviewer.aspx
#1
1
Finally found a place that had the answer. Read this blog if you are curious: http://blogs.msdn.com/b/brianhartman/archive/2010/11/16/the-invisible-reportviewer.aspx
终于找到了一个有答案的地方。如果您感到好奇,请阅读此博客:http://blogs.msdn.com/b/brianhartman/archive/2010/11/16/the-invisible-reportviewer.aspx