EAPCtrlUtilsOnClickPrepend Method |
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntaxpublic static string OnClickPrepend(
this HtmlInputButton btn,
string click
)
<ExtensionAttribute>
Public Shared Function OnClickPrepend (
btn As HtmlInputButton,
click As String
) As String
Parameters
- btn
- Type: System.Web.UI.HtmlControlsHtmlInputButton
The button. - click
- Type: SystemString
The onclick javascript to append.
Return Value
Type:
StringThe 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