Can anyone tell me how to export a control in a TemplateDataField to PDF using the Document.Reports.Report.Export function?
I was able to create Charts and convert the Grid to an IGrid Type, but I am unable to recreate the webslider control in my TemplateDataField in this IGrid Type.
I attempted using WebDocumentExporter to export the WebDataGrid into a section of the report, but it only returned the following in that particular cell;
<div class="ig_LucidDreamControl igsli_LucidDreamControl :=CtlMain:slider" id="WebDataGridPerformance_it4_0_WebSlider1" style="height:18px;width:100%;">..................
Hi evalex,
When exporting a template, we attempt render the text. We also try to find an image and render that. Any other more complex templates must be handled by custom code. You would need to generate the look of the slider with the supported exporting types. You could handle cell exporting event, cancel it, and then set the value of the cell.
regards,
David Young
From my understanding of your reply, you mean convert the control to an image and replace the control before printing it to PDF?
Here's the list of my attempts of converting a Dashboard to PDF