Click or drag to resize

EAPCtrlUtilsOnClickAppend Method (HtmlInputButton, String)

Append the specified javascript to the button's onclick script, if any. See also OnClickPrepend(HtmlInputButton, String).

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string OnClickAppend(
	this HtmlInputButton btn,
	string click
)

Parameters

btn
Type: System.Web.UI.HtmlControlsHtmlInputButton
The button.
click
Type: SystemString
The onclick javascript to append.

Return Value

Type: String
The resulting script, or null if the button is null or the provided script is null/blank.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlInputButton. 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