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.

Leave a Reply

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