Click or drag to resize

ClientScriptManagerExtensionRegisterSigningStartupScript Method

Note: This API is now obsolete.

Register client javascript to page for run signing on client immediately after page loaded to browser.

Namespace:  ASDSoft.WebSigner.Server
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
[ObsoleteAttribute("Use Button.RegisterStartSignatureOnClick or ClientScriptManager.RegisterStartSignatureMethod.", 
public static void RegisterSigningStartupScript(
	this ClientScriptManager clientScript,
	string sessionId,
	string statusInfoControlClientId = null,
	string onSessionStatusTextChangedClientMethodName = null,
	string onSessionEndClientMethodName = null


Type: System.Web.UIClientScriptManager
Instance of ClientScriptManager in ClientScript property.
Type: SystemString
Signing SessionId from SignatureSession
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