By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,949 Members | 2,038 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,949 IT Pros & Developers. It's quick & easy.

Reportviewer change report (page body) color at runtime

P: 1
Hi,

Goal: Change report body background color to white at runtime before exporting to pfd format.

I am reproducing a web report useing .Net reportviewer -- The report is to have the same background color as the web page but a white/no background color when exported to a pdf.

- Setting the report page body to transparent does not work.
- Using a css on the reportviewer background does not work.

How can I access the report's page body backgroundColor property at runtime? Any information on this is greatly appreciated!

Thank you,
Jessica H.
Jul 20 '07 #1
Share this Question
Share on Google+
1 Reply


kenobewan
Expert 2.5K+
P: 4,871
The report viewer encapsulates an IFRAME, and the IFRAME is controlled by the styles and markup coming from the report server. I don't think there is much impact the usual control properties will have here (as you have indicated).
Jul 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.