Save RadGauge to PDF

2 posts, 0 answers
  1. Shawntel
    Shawntel avatar
    1 posts
    Member since:
    Dec 2013

    Posted 25 Mar 2016 Link to this post

    I am running framework 4.0; Windows 10; Telerik UI for ASP.NET AJAX v2015.2.729.40

    In a webforms project, I have created multiple RadGauges in my C# codebehind, using data pulled from a SQL Server database. Now I need to do one or more of the following:

    -save the RadGauges to PDF or as an image file (that can later be emailed)--preferably mutiple gauges per file;

    -OR email the gauges

    -OR print the gauges

    If I can do the FIRST option, I can, obviously do the other two...

    I have searched and searched for several days to attempt to do this on my own before sending in a request...and I simply cannot seem to work this out. Can someone assist me? Thanks in advance for any assistance!

  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 30 Mar 2016 Link to this post

    Hello Shawntel,

    To export the RadGauge you can use the RadClientExportManager. See an example with the chart control which uses the same logic for the gauge -

    Once you do the export you can use Web API to send the image to the server -

    Danail Vasilev
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top