PDF Export JavaScript error

3 posts, 1 answers
  1. Mbott
    Mbott avatar
    24 posts
    Member since:
    Dec 2008

    Posted 13 Mar 2015 Link to this post

    Having trouble with the PDF export functionlaity. I created a page and copied the sample test from the site


    When I click the button I get:

    Error: Object doesn't support property or method 'exportPdf'

    I can export an image, but not a pdf.

    What am I missing? Thank.

    Using...  2015.1.204.40
  2. Answer
    Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 16 Mar 2015 Link to this post

    Hello MIke,

    There is a typo in our documentation. Here is the working script:
    <telerik:RadClientExportManager runat="server" ID="RadClientExportManager1">
       <PdfSettings filename="Myfile.pdf" />
    <input type="button" onclick="exportElement()" value="export" />
    <script type="text/javascript">
        function exportElement() {
            var exp = $find("<%= RadClientExportManager1.ClientID %>");

    Peter Filipov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Mbott
    Mbott avatar
    24 posts
    Member since:
    Dec 2008

    Posted 16 Mar 2015 in reply to Peter Filipov Link to this post

    Thanks, that did the trick! :)
Back to Top