469,643 Members | 2,064 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,643 developers. It's quick & easy.

Reportviewer change report (page body) color at runtime

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
1 4177
kenobewan
4,871 Expert 4TB
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.

Similar topics

4 posts views Thread by ME | last post: by
3 posts views Thread by Xpeppe | last post: by
1 post views Thread by steve | last post: by
4 posts views Thread by =?Utf-8?B?SGVyYg==?= | last post: by
1 post views Thread by Larry Bud | last post: by
5 posts views Thread by =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== | last post: by
1 post views Thread by gandhi.vishal | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.