Click or drag to resize

Call signing functionality

In host web application on server side you must add code for starting signing process.

.NET Framework ASP.NET WebForms or MVC host application

Steps for start signing process.

  1. Ensure implementation of CreateSignatureSession(CreateSessionRequest)

  2. Check if client browser and OS is supported. If not, disable signing functionality and show user message.

  3. Register javascript to onclick event on Button by method RegisterStartSignatureOnClick(Button, CreateSessionRequest, String, String, String) for starting signing on client.


    Register javascript method by method RegisterStartSignatureMethod(ClientScriptManager, String, CreateSessionRequest, String, String, String) for starting signing on client.

WebForms page for signing list of PDF documents named "doc" on click to signButton in page.
public partial class SignPdfPage : System.Web.UI.Page
  protected async void Page_Load(object sender, EventArgs e)
    pdfGridView.DataSource = await _repository.GetDocumentsAsync();

    if (BrowserInfo.Current.IsClientSupported == false)
      this.signButton.Enabled = false;
      this.signingStatus.Text = BrowserInfo.Current.UnsupportedHtml;
      this.signingStatus.ForeColor = Color.Red;
      CreateSessionRequest createSessionRequest = new CreateSessionRequest("doc", "my documents ids");
      this.signButton.RegisterStartSignatureOnClick(createSessionRequest, this.signingStatus.ClientID);
ASP.NET Core host application

The content will be added...

See Also