Silverlight.PluginNotInstalledTemplate Property
Specifies the HTML markup to render in the browser if the Silverlight plug-in is not installed.
Assembly: System.Web.Silverlight (in System.Web.Silverlight.dll)
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] [TemplateInstanceAttribute(TemplateInstance.Single)] [BrowsableAttribute(false)] public ITemplate PluginNotInstalledTemplate { get; set; }
Property Value
Type: ITemplateAn object that has HTML markup that the Silverlight control will display in the browser if the Silverlight plug-in is not installed.
| Exception | Condition |
|---|---|
| InvalidOperationException |
The PluginNotInstalledTemplate property is set to a value that is not a valid template. |
This template applies if the client does not have the Silverlight plug-in installed, or if the Silverlight 2 plug-in is required and the client only has the Silverlight 1.0 plug-in installed.
If a value for the PluginNotInstalledTemplate property is not specified, the standard Install Silverlight graphic is displayed on the Web page and the user can click it to install the Silverlight plug-in.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.