My Silverlight Image is not updating within my DNN Module

While working on our upcoming DotNetNuke Module Silverlight Video Library we came across an interesting thing where you would upload an image (replacing the image on the server if it existed already). This works well until we discovered Silverlight was caching the downloaded images.

Uploading and replacing an image on the server did nothing as the original jpg was cached. A simple command on the bitmap object allows us to get around and effectively bypass the cached image:

bitmap.CreateOptions = BitmapCreateOptions.IgnoreImageCache;

Download this DotNetNuke module from our website at: and stay tuned for our new release.

Author: InteractiveWebs

This blog is the combined blog work of the InteractiveWebs Dev Team. Together we work on a range of DotNetNuke (DNN) applications, modules, Silverlight, and Microsoft CRM Portal integration products. Our Business is website design and hosting, with a strong focus on DotNetNuke, Microsoft Dynamics CRM, Silverlight and iPhone iPad development.

Leave a Reply

Your email address will not be published. Required fields are marked *