Random geekery since 2005.

Husband, father, programmer, speaker, writer, blogger, podcaster, collector, traveler, golfer.

I just recently updated the navigation on my blog (http://www.jeffblankenburg.com) to be a nice Silverlight control, and realized that I was not really providing an optimal experience for those people that don’t have the plugin installed. So since I had to go through it, I thought I would share with you how simple this actually is.

When you add a new Silverlight control to your page, this is what the code will look like:

<div id=”silverlightControlHost”>

How To Add Your Non-Silverlight Content

Here’s all you need to do to get it to work. Inside the

How do I test this? I have the plugin installed!

That’s easy in IE8. Just go to:

Tools > Internet Options > Programs > Manage Add-ons

and choose the Silverlight plugin. You can temporarily disable it there. Great new feature. Here’s a picture of the screen (click to enlarge).

There you go. You can now create custom HTML to display for your users that have not yet installed the Silverlight plugin. I’d recommend letting them know they’re missing out on the full experience, however, or they will never find your cool Silverlight control.

kick it on DotNetKicks.com


2 responses to “TUTORIAL #4: Showing Non-Silverlight Content To Users Without The Plugin”

  1. Sarah Avatar

    Nice to know that it’s easy to show alternate content for those who don’t have the plugin. Thanks for posting this!

  2. Philip Avatar

    You can also disable the Silverlight add-on in IE 7. This was a great post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

%d bloggers like this: