Click or drag to resize

ClientScriptManagerExtensionRegisterStartSignatureMethod Method

Register javascript method for start signing in application host process.

Namespace:  ASDSoft.WebSigner.Server
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
public static void RegisterStartSignatureMethod(
	this ClientScriptManager clientScript,
	string methodName,
	CreateSessionRequest request,
	string statusInfoControlClientId = null,
	string onSessionStatusTextChangedClientMethodName = null,
	string onSessionEndClientMethodName = null


Type: System.Web.UIClientScriptManager
Instance of ClientScriptManager in ClientScript property.
Type: SystemString
Name of javascript parameter-less method.
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 ClientScriptManager. 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).
Within this method is called RegisterSigningClientScriptInclude(ClientScriptManager) for registering common client javascript for use signing.
See Also