System.Web.UI.Page.GetPostBackClientHyperlink Method

Gets a reference, with javascript: appended to the beginning of it, 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 GetPostBackClientHyperlink (Control control, string argument)

Parameters

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

Returns

A string representing a JavaScript call to the postback function that includes the target control's ID and event arguments.

Remarks

See the ClientScriptManager.GetPostBackClientHyperlink(Control, string) method for an alternative 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