Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
Exporting Grid to PDF [TemplateDataField]
posted

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 cla
ss="ig_
LucidDr
eamCon
trol igsli
_LucidD
reamCo
ntrol :=
CtlMain:
slider" i
d="Web
DataGri
dPerfor
mance_i
t4_0_W
ebSlider
1" style
="heigh
t:18px;
width:1
00%;">..................

Parents
No Data
Reply
  • 33839
    posted

    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

     

Children