MVC 3 with Razor View: Generating a PDF view with data using iTextSharp RRS feed

  • Question

  • sorry but I wasn't sure what exact forum i should place this.

    I'm currently working on a project that requires me to generate a printable report. I'm using a PDF reporting using iTextSharp I found in code project, you can click here: PDF Reporting to get a better view.

    The thing is that the report that I need to produce already has a form that needs to be followed that can be found here: FORM. I was planning on placing the form as a background image through CSS3, place the necessary data over the image and throw it to the PDF reporting controller. Problem is that when the pdf view has been generated, the background image is missing. Is it possible to actually pass an image to this PDF reporting? I already tried placing an img tag as mentioned in the site but it didn't work.

    Is this a good solution or is it better if we recreate the form from scratch. If you have other approach to this problem, I'd be glad to hear your suggestions.

    Oh and by the way, we are using mvc3, razor view. We are also using entity frame work and asp.net 4.1

    Thanks in advance!

    • Moved by Mike Feng Tuesday, March 27, 2012 7:44 AM Asp.net (From:.NET Platform Architecture Development Discussions)
    Friday, March 23, 2012 2:31 AM