Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need data driven subscription on a report in ssrs 2008 that put html or mhtml into email message. The reason is to have opportunity to view reports in mobile devices without additional applications except email, thats why I cant use pdf or excel format.

When I convert report into html4.0 file by clicking on “Export” button everything is fine report looks exactly as template and there are enough space between pages.
http://snag.gy/SepwW.jpg

But when ssrs creates email with html file report pages slides over each other. When I zoom out report it increase the distance between pages.
http://snag.gy/lab1X.jpg

I figure out the problem. Manualy created report has such a style for every report page
HTML
<div style="WIDTH:100%;" class="ap">
but sent html has:
HTML
<div style="HEIGHT: 100%; WIDTH:100%;" class="ap">

If I manually comment “HEIGHT: 100%” pages become in readable style.
So Imy question is how to set up ssrs to create html without “HEIGHT: 100%”.
I really don't want to create external html processor to update html generated by SSRS.
Thank you for your help.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900