System.Web.UI.WebControls.LinkButton.OnClientClick Property

Gets or sets the client-side script that executes when a System.Web.UI.WebControls.LinkButton control's LinkButton.Click event is raised

Syntax

[System.Web.UI.Themeable(false)]
[System.ComponentModel.DefaultValue("")]
public virtual string OnClientClick { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the LinkButton.OnClientClick property to specify additional client-side script that executes when the System.Web.UI.WebControls.LinkButton control's LinkButton.Click event is raised. The script that you specify for this property is rendered in the System.Web.UI.WebControls.LinkButton control's OnClick attribute in addition to the control's predefined client-side script.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0