Class ScriptToggleDisplayEvent
Attaches a client side confirmation pop-up for the event and control specified
Inherited Members
Namespace: EPiServer.ClientScript.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
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 |
|
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 |
|
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. |