Page.GetPostBackClientEvent Method
.NET Framework 3.0
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.UIAssembly: 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.
Community Additions
ADD
Show: