Hi, is there a simple solution to print only the content of the grid?(something like ultraprintgrid on windows forms)because i don't want use window.print()
Hey Martin,
Yep, you can use the WebDocumentExporter or WebExcelExporter controls and export the grid to either PDF/XPS or Excel. There is an option to configure whether all data should be exported or only the visible records. From there on you can just print it off the pdf or xls doc.
There are online samples on samples.infragistics.com that demonstrate the above
Hope it helps,
Angel
Hi , where can i found the Webdocumentexporter ? i found only
UltraWebGridDocumentExporteri use v10 vol2
Just to claify Angel, the WebExcelExporter was introduced in version 10.2 and the WebDocumentExporter in version 10.3. So you will need one of these versions to take advantage of these controls.
-Dave
What i have referred to are new controls - WebDocumentExporter and WebExcel Exporter. Take a look at the samples here, they support both WebDataGrid and WebHierarchicalDataGrid:
samples.infragistics.com => ASP.NET => WebExcel Exporter / WebDocumentExporter
Thank you,