• Domingo 17 de Noviembre de 2024, 20:48

Autor Tema:  Unwanted pagebreaks when exported to PDF or printed  (Leído 1101 veces)

lugarda

  • Miembro activo
  • **
  • Mensajes: 52
  • Nacionalidad: co
    • Ver Perfil
Unwanted pagebreaks when exported to PDF or printed
« en: Viernes 10 de Diciembre de 2010, 20:49 »
0
I have a report with some opening text, a table, and some closing text.  The number of rows in the table can vary.

When the report is exported to Excel or printed, the opening text is printed, then a pagebreak is inserted and the table starts on the second page.  I want the everything to be continous with any pagebreaks occuring in the middle of the table.

I've tried modifying the body and page size.  I've tried dragging the controls to the left and making them smaller.

Any ideas on how to stop the unwanted pagebreaks from occuring?

Thank's

gabio2

  • Miembro MUY activo
  • ***
  • Mensajes: 402
  • Nacionalidad: mx
    • Ver Perfil
Re: Unwanted pagebreaks when exported to PDF or printed
« Respuesta #1 en: Viernes 10 de Diciembre de 2010, 21:32 »
0
Hi, I've a question...  Always has this happened to you?...

I need to see your code to find any error, I've never had any error like yours.
@gabio87

lugarda

  • Miembro activo
  • **
  • Mensajes: 52
  • Nacionalidad: co
    • Ver Perfil
Re: Unwanted pagebreaks when exported to PDF or printed
« Respuesta #2 en: Viernes 10 de Diciembre de 2010, 22:00 »
0
Hi, Thank you for trying to help me.
I can not give my code because the problem is in the ReporViewer parameters. Really I think that the problem is page configuration in the ReportViewer, but not be as fix it.