Silverlight.PluginNotInstalledTemplate Property
Specifies the HTML markup to render in the browser if the Silverlight plug-in is not installed.
Namespace: System.Web.UI.SilverlightControls
Assembly: System.Web.Silverlight (in System.Web.Silverlight.dll)
Syntax
'Declaration
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<TemplateInstanceAttribute(TemplateInstance.Single)> _
<BrowsableAttribute(False)> _
Public Property PluginNotInstalledTemplate As ITemplate
Get
Set
'Usage
Dim instance As Silverlight
Dim value As ITemplate
value = instance.PluginNotInstalledTemplate
instance.PluginNotInstalledTemplate = value
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[TemplateInstanceAttribute(TemplateInstance.Single)]
[BrowsableAttribute(false)]
public ITemplate PluginNotInstalledTemplate { get; set; }
Property Value
Type: ITemplate
An object that has HTML markup that the Silverlight control will display in the browser if the Silverlight plug-in is not installed.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The PluginNotInstalledTemplate property is set to a value that is not a valid template. |
Remarks
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.
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.