Snapshot of Silverlight page to powerpoint

8 posts, 0 answers
  1. Sundar Ramadoss
    Sundar Ramadoss avatar
    20 posts
    Member since:
    Apr 2010

    Posted 14 Mar 2012 Link to this post

    Hi,

    I have a SilverLight page having charts and comments about it as a text. When the user clicks  'Export to PowerPoint', I need to get the snapshot of the page and open them up in the powerpoint file.

    Any idea/suggestion to this will help me a lot.

    Thanks,
    Sundar
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 16 Mar 2012 Link to this post

    Hello Sundar,

    I am afraid I don't quite understand which Telerik controls you are using and what exactly you are trying to do. Could you please be a little bit more descriptive when it comes to the following points:

    1. Which Telerik controls you are using for:
    1.1 the charts;
    1.2 the comments and the text.

    2. In what format do you want to save "the page" to? There is no control in the RadControls suite that has pptx export. Furthermore, in Silverlight you can only save a file on the client machine using the SaveFileDialog and afterwards, you cannot access that file to open it in Power Point.

    Greetings,
    Iva Toteva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Sundar Ramadoss
    Sundar Ramadoss avatar
    20 posts
    Member since:
    Apr 2010

    Posted 16 Mar 2012 Link to this post

    Hi,

    I am using RadCharts and TextBlock for comments. I don't want a particular control in the page to export to pptx format, I need to get the whole SL page to show as a slide in the pptx file (on click of a button).

    I have followed the below article and was able to figure out the way, but just want to check is there any easier and efficient way to do this.

    http://www.codeproject.com/Articles/222172/Create-Powerpoint-slides-from-Silverlight-by-takin

    Please let me know, if I am not clear enough.

    Thanks,
    Sundar
  5. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 21 Mar 2012 Link to this post

    Hi Sundar,

    Thank you for the follow-up. 

    We are glad to hear that you have found a way to achieve the scenario you have planned.

    There are no Telerik controls that can aid you in implementing this scenario, because we don't have pptx export. When it comes to saving the content of a page as an image, this is most easily done with WriteableBitmap, as outlined in the article.

    All the best,
    Iva Toteva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. shankar parshimoni
    shankar parshimoni avatar
    18 posts
    Member since:
    Sep 2012

    Posted 12 Sep 2012 Link to this post

    Hello Telerik Admin,
    I have one doubt, is there any possibility to export radchart to powerpoint in silverlight.how can i achieve da task..reply ASAP 
  7. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 13 Sep 2012 Link to this post

    Hello Sundar, 

     Unfortunately it would not be possible to achieve the desired functionality as currently we do not have a built-in PowerPointFormatProvider (like e.g. the PdfFormatProvider that is part of the Telerik.Documents suite). But even if you use the RadDocument the same way as stated here, you still can't export to .pptx and as this is not a common rich-text document and we are not planning on introducing .pptx support.

    All the best,
    Evgenia
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  8. shankar parshimoni
    shankar parshimoni avatar
    18 posts
    Member since:
    Sep 2012

    Posted 13 Sep 2012 Link to this post

     hello telerik admin please take initiative to give possibility reply.  
    can you able to send any link for export radchart to image,i am getting the image but there was no chart.what can i do further step.
  9. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 14 Sep 2012 Link to this post

    Hi Sundar,

     Please review our online demo with source code provided that will show you how to export RadChart as image. For more details you may also take a look at our documentation and more specially this topic.
    Also can you provide us with some more information on your scenario? With what version of our controls are you testing it with? What type of series do you use? Can you start a new formal support thread to attach a runnable sample that we can use to reproduce the issue?

    Kind regards,
    Evgenia
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Back to Top
DevCraft banner