santhosh91

Members
  • Content count

    3
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by santhosh91


  1. We have a special requirement where we are supposed to print whole page which is laid out in four quadrants. Each quadrant is kind of tab control which hosts two fusion charts. We have to export whole page along with charts to pdf.

     

    On the page, we have a print to pdf button when clicked should automatically print the portion of page excluding the navigation pane on left and top. The approach we took is to scrap the html and pass it over to controller action which loads in a web browser control (System.Windows.forms) and we generate a image from web browser and insert the image into PDF. In nutshell, we not only need charts but also peripheral html to mimic UI layout for the print..

     

    But, the challenge is fusion charts are not rendered in web browser control. Also, we don't want to see any fusion charts specific controls or dialog boxes on UI for the print to work.. It should seamlessly pick up charts and insert them in appropriate quadrants in print page..

     

    how can we utilize export to Image functionality from behind the scenes and insert them into our html file?