Create a new Toggle display event to Show/Hide Elements

Namespace:  EPiServer.ClientScript.Events
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public ToggleDisplayEvent(
	EventType eventType,
	string toggleNodeId,
	bool toggleEnabled,
	string toggleGroupName,
	bool toggleNodeVisible
)

Parameters

eventType
Type: EPiServer.ClientScript..::.EventType
The event to show confirmation dialog for
toggleNodeId
Type: System..::.String
The toggle node id.
toggleEnabled
Type: System..::.Boolean
if set to true [toggle enabled].
toggleGroupName
Type: System..::.String
Name of the toggle group.
toggleNodeVisible
Type: System..::.Boolean
if set to true [toggle node visible].

See Also