This is a migrated thread and some comments may be shown as answers.

how to Radhtml export pdf without client event or click event

1 Answer 38 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Md
Top achievements
Rank 1
Md asked on 18 Jun 2015, 04:35 PM
how to Radhtml export pdf without client event or click event

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 19 Jun 2015, 06:12 AM
Hello,

You can use the pageLoad event to access script controls and operate with them. For example:

function pageLoad() {
    setTimeout(function () {
        $find("<%=RadClientExportManager1.ClientID%>").exportPDF($(".RadHtmlChart"));
    }, 300);
}

I have used also some timeout to ensure the chart animation is loaded but you can also disable it by setting the Transitions property to false.


Regards,
Danail Vasilev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart (HTML5)
Asked by
Md
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or