Gets or sets javascript which will be run in the clients browser when the associated Module menu Action is selected. prior to a postback.

Namespace: DotNetNuke.Entities.Modules.Actions
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public string ClientScript { get; set; }
Visual Basic
Public Property ClientScript As String
	Get
	Set

Field Value

The Javascript which will be run during the menuClick event

Remarks

If the ClientScript property is present then it is called prior to the postback occuring. If the ClientScript returns false then the postback is canceled. If the ClientScript is empty then the Action Event is fired and is passed the value of the associated Command property.

See Also