System.Web.UI.Page.GetPostBackClientEvent Method

Gets a reference that can be used in a client event to post back to the server for the specified control and with the specified event arguments.

Syntax

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

Parameters

control
The server control that receives the client event postback.
argument
A string that is passed to IPostBackEventHandler.RaisePostBackEvent(string).

Returns

The string that represents the client event.

Remarks

See the System.Web.UI.ClientScriptManager class for alternatives to this deprecated member.

Requirements

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