Share via


Sys.WebForms.PageLoadingEventArgs Class

Used by the pageLoading event of the Sys.WebForms.PageRequestManager class to send event data that represents the UpdatePanel controls being updated and deleted as a result of the most recent postback.

Namespace: Sys.WebForms

Inherits: Sys.EventArgs

var args = new Sys.WebForms.PageLoadingEventArgs();

Constructors

Name

Description

Sys.WebForms.PageLoadingEventArgs Constructor

Initializes a new instance of the PageLoadingEventArgs class.

Members

Name

Description

Sys.WebForms.PageLoadingEventArgs dataItems Property

Gets a JSON data structure that contains data items that were registered by using the RegisterDataItem method of the ScriptManager class.

Sys.WebForms.PageLoadingEventArgs panelsDeleting Property

Gets an array of HTML <div> elements that represent UpdatePanel controls that will be deleted from the DOM as a result of the current asynchronous postback.

Sys.WebForms.PageLoadingEventArgs panelsUpdating Property

Gets an array of HTML <div> elements that represent UpdatePanel controls that will be updated in the DOM as a result of the current asynchronous postback.

Note

This class contains private members that support the client-script infrastructure and are not intended to be used directly from your code. Names of private members begin with an underscore ( _ ).

Remarks

The UpdatePanel control renders <div> elements. After a postback, the pageLoading event contains information about which <div> elements on the page were updated and created. The panelsDeleting property is an array of <div> elements that are being deleted. The panelsUpdating property is an array of <div> elements that are being updated.

See Also

Reference

UpdatePanel

ScriptManager

Sys.WebForms.PageRequestManager Class