I know I've been trying to find decent documentation on the Document Exporter recently.
I looked at the Features Browser at: http://samples.infragistics.com/2007.3/webfeaturebrowser/default.htm
There was an example how you can export a single grid to PDF. Useful, but not what I wanted.
I wanted to export grids AND charts. So, the next link I find is the Document Exporter control summary at: http://es.infragistics.com/dotnet/netadvantage/aspnet/webgriddocumentexporter.aspx
On this page, there is a video demonstrating how the control work. Great! I watch it. Lets see..... There's a sample grid, some examples of exporting to Excel, PDF, and XPS....... Some code that shows how simple it is. Nice..... Now, I see someone demonstrating how you can add charts and graphics to an export. There's even a pretty example of what it can look like. That's what I was looking for...... WHAT? No code samples? What gives?!? They tell you that there is a object model to do those kind of things. I've read it. Without decent examples, it's difficult to follow.
It seems all the controls described on this site are 100% Show Off, 50% Show How. I get about half the knowledge I need to get things to work and have to waste time figuring out the rest. I don't think it's just me. I'm one of five programmers on a team here and we all got question marks floating over our heads on these.
BTW, I found the Web Showcase on the site which is where the chart export PDF was demonstrated from. There are no source code samples online. So, I dig through anything and everything I've installed on my local computer from Infragistics. I finally find the Web Showcase code. Now, let me preface this with the fact that we are a VB shop here. We don't care for C#, nor do we see any great advantage to using it. So why is the only code example for chart export in PDF in a C# project? This means more work on my part to translate code in order to use the features on a package in which good money was spent. I doubt any great insight can be derived from the source code, either.
Please see this section here in the help file: http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Web_Infragistics_Document_Engine.html
The Writing Reports section contains detailed descriptions of every element of the Document Engine and they include code samples in VB and C#. This section may help.
Also see this Chart topic:http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Chart_Exporting_Numerous_Charts_to_a_PDF.html
which may also assist you in learning more on how to use the Chart in the Document Engine.
The WebGridDocumentExporter section in the help may also assist.
I've alerted the documentation team to work to include a future topic that demonstrates with code how to use the Document Engine to export both a grid and a chart on one page.
If the above doesn't provide the help with learning the Document Engine that you're looking for please log an incident with Developer Support
The online and local installed help are exactly the same documents.
In Windows Forms section of the help.
Open Developer's Guide.You can find information in the Revision History section of the What's new section in 2007 volume 2 for information on the Infragistics Document Engine.
Also,
The Developer's Guide section.The Toolset section.The Code Libraries section contains the Infragistics Document Engine.
Also,in the online search,
entering document engine in the online search tab of the help produced 54 resultsentering engine produced 100 results - clicking on Ingragistics Document Engine took me to the main pagein which contains the intro info. I'll have someone check the installed 7.3 help.
The docs team is painfully aware of the difficulties you and other developers continue to incounter trying to find the information they have written as well as the need for more topics.
PLEASE - anytime you are in the help and have an issue with the help use the E-mail option at the bottom of every page. Tell the docs team your pains. They listen and are making improvements.
Tim Hitchings "]In Windows Forms section of the help.
Maybe I should have mentioned that I'm using ASP.NET and not Windows Forms. But I'm sure most of the API help is common between the two.
I think I now have a document object ready to view by using the examples. But I can't figure out what methods for the Document Engine allow me to send or export it to the client browser as a PDF ready to open. I don't want to publish it to disk, which seems to be the preferred method as suggested by the help documentation, and when I try to send it as a Stream through the ASP.Response object, it doesn't give me any content or errors. The code just runs without anything happening. My guess is because I launch the export process via a button in a WARP, I think the WARP is "consuming" the content.
I don't want to have to put together and send an example of what I have that doesn't work. I'd rather just see a sample of code that starts from the point of having an existing Infragistics.Document.Report.Report object and sends it to the client browser as a PDF to be opened or saved as the user sees fit.
The Index pane is not reliable because lots of topics don't link to it. And the Search pane returns far too many links.
Note carefully whether the particular topic you found applies to Windows Forms or ASP.NET. Even though you only bought one of them, you get the help for both -- no way to filter as far as I can see (I have the latest hot fix to the latest release). And good luck finding the full code samples that the snippets in the help topics often come from.
That said, the documentation has improved a lot since 2006 V1.
<[Infragistics] Tim Hitchings > wrote in message news:16696@forums.infragistics.com... I suggest you use the Infragistics.Documents forum in the Publishing and Printing Section of the NetAdvantage for ASP.NET area.See if any of the previous posts there help and if not post your question there.Also submitt your issue to developer support. It is not required to have a sample example to get suppot. Tim HitchingsInfragisticsDirector of the Program Office and Technical Communications http://forums.infragistics.com/forums/p/2867/16696.aspx#16696
I suggest you use the Infragistics.Documents forum in the Publishing and Printing Section of the NetAdvantage for ASP.NET area.See if any of the previous posts there help and if not post your question there.Also submitt your issue to developer support. It is not required to have a sample example to get suppot.