Class InitializeRequestEventArgs

Used by the initializeRequest event of the PageRequestManager class to pass argument information to event handlers. 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 ( _ ).

see

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

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(request: WebRequest, postBackElement: any, updatePanelsToUpdate: Array<string>): InitializeRequestEventArgs

Initializes a new instance of the EndRequestEventArgs class.

Parameters

  • request: WebRequest
          A Sys.Net.WebRequest object that represents the Web request for the EventArgs object.
    
  • postBackElement: any
  • updatePanelsToUpdate: Array<string>
          (Optional) A list of UniqueID values for UpdatePanel controls that are being requested to update their rendering by the client. Server-side processing might update additional UpdatePanel controls.
    

Returns

InitializeRequestEventArgs

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_postBackElement(): HTMLElement

Gets the postback element that initiated the asynchronous postback.

Returns

HTMLElement

An HTML DOM element.

public get_request(): WebRequestExecutor

Gets the request object that represents the current postback.

Returns

WebRequestExecutor

A request object that is represented by the Sys.Net.WebRequestExecutor class.

public get_updatePanelsToUpdate(): Array<string>

Gets or sets a list of UniqueID values for UpdatePanel controls that should re-render their content, as requested by the client. The returned array can be modified by a client event handler to add or remove UpdatePanel controls that should re-render their content dynamically. Server processing can also modify the array.

Returns

Array<string>

An array of UniqueID values for UpdatePanel controls.