Geeks With Blogs
Chris Breisch   .NET Data Practices
Search this Blog!

I have to admit, I wouldn't have thought of this.  IE won't display transparent PNG's properly using the <img> tag.  So, this control adapter modifies the rendering of your <img> tag to something that IE can use to display the PNG properly.

Control Adapters are a means for you to intercept the rendering functions of a control and replace them with your own. There's a great article by Fritz Onion in the October 2006 edition of MSDN magazine explaining Control Adapters in more detail than we will here.

We will write a Control Adapter to adapt the output from the ASP.NET Image Web Control.

Of course, another solution is to not allow your users to use IE.  Oh yeah, this is the internet...hmmm. Posted on Tuesday, October 3, 2006 11:46 AM ASP.NET | Back to top

Comments on this post: Helping IE understand Transparent PNG's Using a Control Adapter

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Chris J. Breisch | Powered by: