Displaying Silverlight Content

Silverlight is a framework that enables you to incorporate rich, animated, interactive content to your website. To display this content, your website visitors must have the Silverlight runtime installed on their computer.

Note

You can download and install the Microsoft Silverlight runtime (for both Windows and Macintosh) from http://www.silverlight.net.

Unlike the other controls we discussed in this chapter, Silverlight content is not added to an ASP.NET application using a server control. Instead, a standard HTML object element is used to add the content. You should set the following attributes on the object:

Width— The width of your Silverlight control, in pixels.

Height— The height of your Silverlight ...

Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.