Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1825
Trying to get a report name text to repeat on each page
posted

Need to get the report name to repeat on each page.

I have five wingrids one for each report.

I am using: section.AddQuickText(uwTCtrl_MultiGridRpts.Tabs("Grid - 0").Text & ":")

to add the name of each report just before the grid on the PDF.

Is there any way to get that text to repeat on each page for each wingrid?

Also note I have a Header and footer that does appear on each page.

This text would be just below the header on each page.

Some of them grids can take more then one page to print out.

 

Hopefully that all made sense.

Thanks

Deasun

Parents
  • 23930
    Offline posted

    Hi Deasun,

    Thank you for contacting Infragistics Developer Support.

    Are you using UltraGridDocumentsExporter or are you exporting the grids manually? If you are using the UltraGridDocumentExporter you can handle the BeginExport event and then use code similar to this:

    e.Setion.AddQuickText("Grid Header")

    e.Section.AddText().AddLineBreak()

    If you are adding the grids manually you will have to manually add the text as you are currently doing before adding the grid.

    Please let me know if you have any additional questions.

Reply Children