how to Radhtml export pdf without client event or click event

2 posts, 0 answers
  1. Md
    Md avatar
    2 posts
    Member since:
    Mar 2014

    Posted 18 Jun 2015 Link to this post

    how to Radhtml export pdf without client event or click event
  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 19 Jun 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top