System.Web.UI.Page.GetPostBackEventReference Method

Returns a string that can be used in a client event to cause postback to the server. The reference string is defined by the specified control that handles the postback and a string argument of additional event information.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.Obsolete]
public string GetPostBackEventReference (Control control, string argument)

Parameters

control
The server control to process the postback.
argument
The parameter passed to the server control.

Returns

A string that, when treated as script on the client, initiates the postback.

Remarks

This method has been deprecated. Use the erload:System.Web.UI.ClientScriptManager.GetPostBackEventReference method in the System.Web.UI.ClientScriptManager class instead.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0