Class ReloadPageEvent
Registers a client side event that reloads the page in the specified window when the event occurs.
Inherited Members
Namespace: EPiServer.ClientScript.Events
Assembly: EPiServer.dll
Version: 7.19.2Syntax
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 |
---|---|---|
Event |
eventType | Type of client side event. For available types, see Event |
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 |
---|---|---|
Event |
eventType | The client side event to reload page for. |
System. |
windowReference | The client side window reference to reload |
Properties
WindowReference
The client side window reference to reload.
Declaration
public string WindowReference { get; set; }
Property Value
Type | Description |
---|---|
System. |
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 |
---|---|---|
Script |
scriptManager | The Script |
System. |
clientId | The id of the control that will raise the event |