Is there any solution to this error? I am using version 9.2
"Printing failed. The Header area is taller than the page leaving no room to print any row data. Reduce the height of the headers and try again."
Currently height of header is: -1 (negative one) If I set it to 1 or any other value greater than zero, then printing completes without error. But I cannot set it to 1 or 100, because if I do so, printing document shows only specified amount of space on header. However keeping -1 value, printing document will calculate and take required space automatically. If I keep a small number like 1, then header might not display at all. And if I keep it 10 (or 10+), it might display blank space between header and actual page contents.
Private WithEvents mReportDoc As New UltraGridPrintDocument
...
?mReportDoc.Header.Height
-1
?mReportDoc.Page.Margins
{Left = 0, Top = 0, Right = 0, Bottom = 0}
We are encountering the same issue with version 9.2. We only seem to encounter this with grid items that have a sub item. I've tried various formatting/sizing options in the print/print preview layout, but while it may change the behavior somewhat, it never fully clears up.
hello did you manage to solve your problem i have the same thing I think
even if I put 1 I have the error message...
It's been a while since I had this problem, so I don't remember exact details. I'll see if I can spare some time to study your sample project (because this issue is no more on my plate).
Thanks for your time though, appreciate it.
Hello,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.