Wednesday, June 23, 2010 2:39 PM
I know the first suggestion that the title begs:
Look to my "KeepTogether" settings on my Table. However, I have.
That said, here is a more specific description of my problem: I have some 30-40 reports from a project I developed in Visual Studio 2008 and .Net 3.5 and Report Viewer WinForms 9.0. These all worked just fine. Most of these reports contain a Table that displays a long listing of columnar data. Then, about a month ago, I converted my Solution to Visual Studio 2010, but am still targeting .Net 3.5. However, the first report that I opened in Visual Studio 2010 I got a conversion notice indicating that I needed to convert the report to Report Viewer 10.0. I did this, not thinking anything of it. I edited the report and set Visual Studio Report Viewer 2010 as a prerequisite.
Then I started getting some bug reports from the users of my application. They were reporting that when the Table on the report did not fit between the header and the footer of the report (in other words it was too long to fit in the available space on the first page) on the first page, then it would print with the header and the footer, but not Table. The table would appear on the second page, then the third, fourth, etc., until it was done. However, if the table did fit between the header and the footer on the first page, then it would print on the first page.
Of course, I immediately figured that my "KeepTogether" settings had somehow been lost in the conversion, so I checked that. But in fact, I discovered that the KeepTogether setting on the reports was false.
This is becoming a serious problem. I would just revert to Report Viewer 2008, but I can't. I would have to go to each machine that the application is installed on and remove Report Viewer 2010 because now that it is installed, it opens all reports by default, even if they haven't been converted over. In any case, I don't know how I'm supposed to continue working because I have to be able to edit these reports and yet I can't do it in Visual Studio 2010. Obviously I can no longer revert back to Visual studio 2008 because I have code that will no longer work in 2008.
In any case, this is clearly a bug in Visual Studio Report Viewer 2010. My reports worked before and now they don't work. And all that I did was allow Visual Studio to convert them to Visual Studio Report Viewer 2010.
I will have to say I am getting a little bit desperate on this issue. I have tried everything I know to try in terms of settings within the report. It seems to me as if it must simply be some bug that I have no access to. But my users don't care about that, they want their reports to work like they used to.
Can anyone Help?
Tuesday, February 01, 2011 9:49 AM
i'm working for a very important customer and i'm having exactly the same issue described by you. Did you know any trick to solve this problem?
If yes, could you please send me your exerience?
Thanks a lot
Saturday, January 21, 2012 11:54 AM
I also have the same issue, and I've already mentioned it here, and there's an answer marked as solution, but that is not even related to this problem. My report is set to A4 (210x297mm) size, the body is set according to it: top/bottom margins and footer sizes are excluded from its height. It worked fine with the old VS2008 (Microsoft Reports V9), but after upgrading everything to VS2010 (MS Reports V10), I'm experiencing this. The details are:
- the tablix is located in the middle of the page, there are controls above and below
- the data consists of changing number of rows (it's kind of a loan planner calculation with dates, amounts etc.)
- I'm using print preview renderer, this is required, as my reports must be exported to PDF
- if the table fits in the remaining space (~120mm), then everything looks OK, no extra page break
- if the table does not fit in the remaining space, but fits on one whole page,
I get an extra page break and a big, unwanted white space on the first page, and the table starts on a new page
- if the table does not fit in even a whole page, then everything is OK again, the data is displayed from the middle of the first page to the end, then there's a page break, and it continues on the next page
My question is: how to get rid of the extra page break in case 2? Setting KeepTogether does not help, I've tried every setting on rows, columns, groups, tablix, but no success.
Friday, February 03, 2012 8:00 AM
Exactly the same problem here...
Anyone found a solution ?
I tried everything I thought, but no changes..
Should I envisage to re-design each report by using VS2010 designer instead of convert my reports ? This will be a big waste of time...
Hope anyone from Microsoft Team can answer here..
Thanks a lot, Séb
Friday, February 03, 2012 8:15 AM
YEAHHHHHHHHHHHHH I found where was the probleem ! (^^ just 5 minutes after posting here)
I have my VS2010 in french, so my menu's traduction will be approximativ..
Go to the menu "Report" => "Group" (latest menu, to be sure it is checked).
Then, on the end of your report viewer, you will see "Line group" and "Column group".
Now, select your table and you will see the table_details_group on the "Line group". Select it.
On the "Properties" box, you can put the "KeepTogether" on false. And that's it ! Try to print your report again and enjoy!
Hope It will help you guys ;-)
See you, Séb