Is it possible to export page header along with the grid and its header using WebDocumentExporter?
();
ExportGrid.DataSource = repositorySate.GetStatesWithId((
]);
The Code above just exports the grid and its header but my requirement is to export the Page header.
Hi MeghaDawagni1,
There are overloads to the Export method that take a document object. You could create a section in this document and put in your header before passing it to your export method.
regards,
David Young
Hi David,
Thanks for replying.The Header of my page is a UserControl ascx file.
Can you please provide an example?
Thanks & Regards,
Megha
Thanks I got it in the following blog:
http://blogs.infragistics.com/blogs/sung_kim/archive/2009/02/18/publishing-dynamic-files-pdf-xps-creation-using-the-infragistics-document-library.aspx
Hey,
I'm glad you found this. I probably would have found the same thing. Or there is probably also a sample online.
-Dave