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
835
How can I print an WinGrid with headers and footers?
posted

I have been trying to come up with a solution to print the data of a WinGrid that includes headers and footers similar to a report.  Anyone have any ideas?  Below is the link of what I would like to do.  Thanks in advance,

 Jose

http://i201.photobucket.com/albums/aa290/jrjosemartinez/sample.jpg

Parents
  • 469350
    Verified Answer
    Offline posted

     If you are using the Print/PrintPreview method of the grid, you can use the InitializePrint/InitializePrintPreview events and set properties on: 

        e.DefaultLogicalPageLayoutInfo.PageHeader

        and

        e.DefaultLogicalPageLayoutInfo.PageFooter

Reply Children