Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
Printing text from webhtmleditor
posted

I want to print the "text" entered using the webhtmleditor (ideally using SSRS), but the html tags are being printed too.  This is the case even when I take the data directly from sql2005 into word.

Is there any way I can get the html rendered correctly in a printed document?

Any help or advice is most welcomed!

Warm regards

 

Peter

  • 12631
    posted

    In order to print the HTML contents of the WebHtmlEditor, something has to know how to properly render the HTML, which is usually just the browser.  The WebHtmlEditor does no rendering itself, but merely passes the HTML content to the browser to render.  Unfortunatly, I don't think SSRS contains any easy way to included rendered HTML (see this MSDN blog post) in a report.

    One other option for you might be to create simple "print-view" of the editors content in a seperate popup browser window and let your users print directly from there using the standard browser printing capabilities. 

    Devin