 | ClientScriptManagerExtensionRegisterStartSignatureOnClick Method |
Register javascript to onclick event on Button for start signing in application host process.
Namespace:
ASDSoft.WebSigner.Server
Assembly:
ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntaxpublic static void RegisterStartSignatureOnClick(
this Button button,
CreateSessionRequest request,
string statusInfoControlClientId = null,
string onSessionStatusTextChangedClientMethodName = null,
string onSessionEndClientMethodName = null
)
Parameters
- button
- Type: System.Web.UI.WebControlsButton
Button in Page for start signing. - request
- Type: ASDSoft.WebSigner.Server.BrowserCreateSessionRequest
Content identification for signing. - statusInfoControlClientId (Optional)
- Type: SystemString
Optional Client ID of Html Element for show signing status (progress) message. For example SPAN or DIV element. - onSessionStatusTextChangedClientMethodName (Optional)
- Type: SystemString
Optional javascript method name for custom show signing status (progress) message. Signature of the method must be: (statusText: string, isError: boolean): void; - onSessionEndClientMethodName (Optional)
- Type: SystemString
Optional javascript method name for custom handle ending signing, for example for redirecting to another page. Signature of the method must be: (sesionStatus: AsdWebSigner.SessionStatus): void;
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Button. 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).
Remarks
See Also