SPWebApplication.AllowSilverlightPrompt Property

Gets or sets a value that indicates whether UI elements that use Microsoft Silverlight to render should prompt the user to download the Silverlight application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public bool AllowSilverlightPrompt { get; set; }

Property Value

Type: System.Boolean
true to specify that the user be prompted to download Silverlight; otherwise, false. By default, this property is set to true.

This property does not affect the behavior of UI elements. It is used only to indicate how the UI elements that are rendered by Silverlight should behave.

This property can only be set by a user with administrator level privileges for the server farm.