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
280
Export Page Header using WebDocumentExporter
posted

Is it possible to export page header along with the grid and its header using WebDocumentExporter?

 

 

 

 

 

StateRepository repositorySate = new StateRepository

();

ExportGrid.DataSource = repositorySate.GetStatesWithId((

 

 

List<int>)ViewState["SelectedRowsList"

]);

The Code above just exports the grid and its header but my requirement is to export the Page header.

Parents
No Data
Reply
  • 33839
    posted

    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

Children