Class ReloadPageEvent

Registers a client side event that reloads the page in the specified window when the event occurs.

Inheritance
System.Object
ReloadPageEvent
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.ClientScript.Events
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class ReloadPageEvent : EventBase

Constructors

ReloadPageEvent()

Create a new Reload page event.

Declaration
public ReloadPageEvent()

ReloadPageEvent(EventType)

Create a new Reload page event attached to the specified client side event type.

Declaration
public ReloadPageEvent(EventType eventType)
Parameters
Type Name Description
EventType eventType

Type of client side event. For available types, see EventType

ReloadPageEvent(EventType, String)

Create a new Reload page event attached to the specified client side event type and whick reloads the page in the specified windowReference.

Declaration
public ReloadPageEvent(EventType eventType, string windowReference)
Parameters
Type Name Description
EventType eventType

The client side event to reload page for.

System.String windowReference

The client side window reference to reload window.top.

Properties

WindowReference

The client side window reference to reload.

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

Default: window

Examples

window.top

Methods

AttachEvent(ScriptManager, String)

Attaches the ReloadPageEvent event to the supplied script manager

Declaration
public override void AttachEvent(ScriptManager scriptManager, string clientId)
Parameters
Type Name Description
ScriptManager scriptManager

The ScriptManager to create the events in.

System.String clientId

The id of the control that will raise the event

Overrides

Extension Methods