SilverlightPlugin.OnLoad Property

Gets or sets the name of the client JavaScript function (event handler) that is called when the Silverlight plug-in loads.

Namespace:  System.Web.UI.SilverlightControls
Assembly:  System.Web.Silverlight (in System.Web.Silverlight.dll)

Syntax

'Declaration
Public Overridable Property OnLoad As String
    Get
    Set
'Usage
Dim instance As SilverlightPlugin
Dim value As String

value = instance.OnLoad

instance.OnLoad = value
public virtual string OnLoad { get; set; }

Property Value

Type: System.String
The name of the JavaScript function that is called when the Silverlight plug-in loads.

Remarks

The Sys.UI.Silverlight.Control.pluginResized client event occurs at runtime after the Sys.UI.Silverlight.Control.pluginLoaded client event and when the plug-in size has changed.

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

SilverlightPlugin Class

SilverlightPlugin Members

System.Web.UI.SilverlightControls Namespace