Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

Page.GetPostBackClientHyperlink Method

NOTE: This method is now obsolete.

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.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
[ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackClientHyperlink. http://go.microsoft.com/fwlink/?linkid=14202")] 
public string GetPostBackClientHyperlink (
	Control control,
	string argument
)
/** @attribute ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackClientHyperlink. http://go.microsoft.com/fwlink/?linkid=14202") */ 
public String GetPostBackClientHyperlink (
	Control control, 
	String argument
)
ObsoleteAttribute("The recommended alternative is ClientScript.GetPostBackClientHyperlink. http://go.microsoft.com/fwlink/?linkid=14202") 
public function GetPostBackClientHyperlink (
	control : Control, 
	argument : String
) : String
Not applicable.

Parameters

control

The server control to process the postback.

argument

The parameter passed to the server control.

Return Value

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

See the GetPostBackClientHyperlink method for an alternative 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.