Hi
In this new version 2011.1 of Infragistic I have been unsuccessfull in exporting a text box to pdf doc. In the earlier version I had success in exporting text box please see code in code behind page below that is commented out. Anyway this code will not work in the new version. So when i export to pdf it only displays the webgrid and its content fine but not the textbox data. Can anyone suggest a solution
Hello bridsimon,
Please let me know how the suggested solution worked out.
If you have any questions, please let me know as well.
Hi,
I am able to use the document exporter but for some reason only the headers of my grid appear on my PDF document. I am using infragistics 2011 and this is the snippet of my code.
Private Sub PrintWorkReq() Dim r As New Report Dim section As ISection = r.AddSection Dim sectionHeader As ISectionHeader Dim sheaderTitle As IText section.PageNumbering.SkipFirst = True section.PageNumbering.OffsetY = -18 section.PageNumbering.Template = "Page [Page #] of [TotalPages]" sectionHeader = section.AddHeader sectionHeader.Height = 20 sectionHeader.Repeat = False sheaderTitle = sectionHeader.AddText(0, 0) sheaderTitle.AddContent("This is a test TSB Title") sheaderTitle.Alignment = TextAlignment.Center wdExporter.DataExportMode = DataExportMode.DataInGridOnly wdExporter.DownloadName = "TSBText.pdf" wdExporter.Export(wdgExportData, r)
when i display the grid in the browser window i get data in the grid. But when i export this to my PDF file there is no data in the grid.