Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.Net.WebRequestManager remove_invokingRequest Method

Removes the event handler set by the add_invokingRequest method.

Syntax

Sys.Net.WebRequestManager.remove_invokingRequest(handler);

Parameter

Description

handler

The function that handles the invoking request event.

Return Value

Remarks

Use the remove_invokingRequestmethod to remove the event handler you set using the add_invokingRequest method.

Example

The following example shows how to remove the event handler. This code is part of a complete example found in the WebRequestManager class overview.

JavaScript

Sys.Net.WebRequestManager.remove_invokingRequest(On_InvokingRequest);