November Happy Hour will be moved to Thursday December 5th.

Class ScriptToggleDisplayEvent

Attaches a client side confirmation pop-up for the event and control specified

Inheritance
System.Object
ScriptToggleDisplayEvent
Namespace: EPiServer.ClientScript.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class ScriptToggleDisplayEvent : ScriptEventBase

Constructors

ScriptToggleDisplayEvent()

Declaration
public ScriptToggleDisplayEvent()

Properties

ToggleEnabled

Gets or sets a value indicating whether it's possible to both show and hide the node.

Declaration
public bool ToggleEnabled { get; set; }
Property Value
Type Description
System.Boolean

true if [toggle enabled]; otherwise, false.

ToggleGroupName

Gets or sets if the event should toggle a group of nodes where one node at a time could be visible.

Declaration
public string ToggleGroupName { get; set; }
Property Value
Type Description
System.String

ToggleNodeId

Get or set the id of the node to toggle display for.

Declaration
public string ToggleNodeId { get; set; }
Property Value
Type Description
System.String

ToggleNodeVisible

Gets or sets a value indicating whether the node to toggle (ToggleNodeId) is visible when page is loaded.

Declaration
public bool ToggleNodeVisible { get; set; }
Property Value
Type Description
System.Boolean

true if [toggle node visible]; otherwise, false.

Methods

CreateEvent()

Create an instance of the event this web control represents.

Declaration
protected override EventBase CreateEvent()
Returns
Type Description
EventBase

An EventBase derived event instance.

Overrides

Extension Methods