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()
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,
Angel
Hi , where can i found the Webdocumentexporter ? i found only
UltraWebGridDocumentExporteri use v10 vol2
Not really true,or??
for many reasons (as suggested here) i moved from the ultrawebgrid to the webdatagrid. now iam searching a little over the whole forum and i have found this.
UltraWebGridDocumentExporter1.Format =
FileFormat.PDF
UltraWebGridDocumentExporter1.DownloadName =
"Test1.pdf"
UltraWebGridDocumentExporter1.TargetPaperOrientation =
PageOrientation.Landscape
UltraWebGridDocumentExporter1.ExportMode = Infragistics.WebUI.UltraWebGrid.Exporter.
ExportMode.Download
UltraWebGridDocumentExporter1.AutoSizeRows = Infragistics.WebUI.Shared.
DefaultableBoolean.True
but the webgriddocumentexporter DOES'nt support Webdatagrid :(:(
Not nice...How can i 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,