Returns a string that can be used in a client event to cause postback to
the server. The reference string is defined by the specified
PostBackOptions
instance.
Namespace: MonoSoftware.WebAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static string GetPostBackEventReference(
this LinkButton control,
string argument
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function GetPostBackEventReference (
control As LinkButton,
argument As String
) As String |
Visual C++ |
---|
public:
[ExtensionAttribute]
static String^ GetPostBackEventReference(
LinkButton^ control,
String^ argument
) |
F# |
---|
static member GetPostBackEventReference :
control : LinkButton *
argument : string -> string
|
Return Value
Type:
String A string that, when treated as script on the client, initiates the client postback.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
LinkButton. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also