Class PageLoadedEventArgs

Used by the pageLoaded event of the PageRequestManager class to send event data that represents the UpdatePanel controls that were updated and created in the most recent postback.

see

{@link http://msdn.microsoft.com/en-us/library/bb397476(v=vs.100).aspx}

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): PageLoadedEventArgs

Initializes a new instance of the PageLoadedEventArgs class.

Returns

PageLoadedEventArgs

Properties

public Empty: EventArgs

An object of type EventArgs that is used as a convenient way to specify an empty EventArgs instance.

Methods

public get_dataItems(): any

Gets a JSON data structure that contains data items that were registered by using the RegisterDataItem method of the ScriptManager class. A page or control must be in partial-page rendering mode to register data items that use the RegisterDataItem method of the ScriptManager class Use the IsInAsyncPostBack property to check whether the page is in partial-page rendering mode.The dataItems property returns a JSON data structure that contains name/value pairs. The name is the unique ID of the control that is used in the control parameter of the RegisterDataItem method. The value is the dataItem parameter of the RegisterDataItem method.

Returns

any

A JSON data structure that contains name/value pairs that were registered as data items that use the RegisterDataItem method of the ScriptManager class.

public get_panelsCreated(): Array<HTMLDivElement>

Gets an array of HTML div elements that represent UpdatePanel controls that were created when the DOM was updated during the last asynchronous postback. If an UpdatePanel control is updated as a result of a partial-page update, the array referenced in the panelsCreated property of the PageLoadedEventArgs class contains a reference to the corresponding div element. The pageLoaded event of the Sys.WebForms.PageRequestManager class uses a PageLoadedEventArgs object to return its event data.

Returns

Array<HTMLDivElement>

An array of div elements that were created during the DOM manipulation that was caused by the last asynchronous postback. If no elements were created, the property returns null.

public get_panelsUpdated(): Array<HTMLDivElement>

Gets an array of HTML

elements that represent UpdatePanel controls that were updated when the DOM was updated during the last asynchronous postback. If an UpdatePanel control is updated as a result of a partial-page update, the array referenced in the panelsUpdated property of the PageLoadedEventArgs class contains a reference to the corresponding
element. The pageLoaded event of the Sys.WebForms.PageRequestManager class uses a PageLoadedEventArgs object to return its event data.

Returns

Array<HTMLDivElement>

An array of

elements that were updated during the DOM manipulation that was the result of the last asynchronous postback. If no elements were created, the property returns null.