Export (0) Print
Expand All
Expand Minimize

Page.GetPostBackClientEvent Method

NOTE: This method is now obsolete.

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.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

[ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202")] 
public string GetPostBackClientEvent (
	Control control,
	string argument
)
/** @attribute ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202") */ 
public String GetPostBackClientEvent (
	Control control, 
	String argument
)
ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackEventReference. http://go.microsoft.com/fwlink/?linkid=14202") 
public function GetPostBackClientEvent (
	control : Control, 
	argument : String
) : String
Not applicable.

Parameters

control

The server control that receives the client event postback.

argument

A String that is passed to IPostBackEventHandler.RaisePostBackEvent.

Return Value

The stringthat represents the client event.

See the ClientScriptManager class for alternatives to this deprecated member.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 1.0, 1.1, 2.0
Obsolete (compiler warning) in 3.0

Community Additions

ADD
Show:
© 2014 Microsoft