Page 1 of 1

Panel Transparency trouble

Posted: Wed Apr 04, 2007 10:13 am
by 9644663
Hi,

I've been trying to set transparency for the panel but it doesn't seem to want
to work for me.

The Only thing thats worked for me so far is having a PNG PictureFormat and that's only for IE7 and not IE6.
The format doesn't really matter, only that it work's with IE6
I've tried:

Code: Select all

WebChart1.Chart.Panel.Transparent = true;
// and
WebChart1.Chart.Panel.Transparency = 100;
and going into
[WebChart Tasks]->[Edit...]->[Chart]->[Panel]->[Background] -> Transparent (selected)
I have also tried the color and transparent from there.
Am i forgetting some simple thing?

Any suggestions would be very appreciated.

Posted: Wed Apr 04, 2007 11:19 am
by narcis
Hi Vidar,

Have you tried using a gif image? How do you normally get transparent bitmaps to display in IE6?

Posted: Wed Apr 04, 2007 12:38 pm
by 9644663
Yes i have tried: Bitmap, PNG, JPEG and GIF format's
and none work.
except PNG for InternetExplorer 7.

And to my knowledge most of the image files can be transparent in Internet Explorer 6, as long as they are created with transparency.

I am just asking if i am forgetting some settings.
when i create some of the images with transparent = true
the background (panel) is black.
and now when i tried to [Save Picture As] i get the following error message
Image

(p.s image is not transparent in firefox eather )

Posted: Wed Apr 04, 2007 12:48 pm
by 9644663
The error msg is just an IE7 random error message so i doesn't really matter
but i get the black panel background :s

Posted: Thu Apr 05, 2007 2:52 pm
by narcis
Hi Vidar,

Could you please have a look at the link below? There you'll find the explanation to the problem.

http://forums.asp.net/thread/1481233.aspx

Thanks in advance.

Posted: Fri Apr 06, 2007 11:10 am
by 9644663
Thanks NarcĂ­s.

i will send you a message with the code i use to solve this for your reference.

best regards Vidar