I am using a WebGrid with Paging enabled but the PDF exporter only exports the currently loaded page.
any idea of how to force the exporter to export the entire thing?
Hi Robert
You have to disable paging , and then export the WebGrid, and later you can enable paging again.
UltraWebGrid1.DisplayLayout.Pager.CurrentPageIndex = 1;
UltraWebGrid1.DisplayLayout.Pager.AllowPaging = false;
UltraWebGridDocumentExporter1.Export(UltraWebGrid1);
UltraWebGrid1.DisplayLayout.Pager.PageSize = Convert.ToInt32(PageSizeDDL.SelectedValue);
UltraWebGrid1.DataBind();
Hope this helps
Thanks I will give it a try.
R