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
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.
Hello bridsimon,
Please let me know how the suggested solution worked out.
If you have any questions, please let me know as well.
I apologize for the delay of my response.
It is a known issue that our WebDocument exporter only exports simple texts.
Below are documents for additional referrence:
http://help.infragistics.com/NetAdvantage/ASPNET/2010.3?page=Web_Known_Issues_and_Breaking_Changes_2010_Volume_3.html
http://blogs.infragistics.com/forums/t/55009.aspx
Please let me know if you have any questions.
I am looking into this issue. I will be providing you with an update by the end of the day Thursday.
If you have further questions, please let me know as well.