Signature Pad Using C# Code Behind Will Not Allow Signature Insertion

479 views Asked by At

@szimek I am trying to implement your Signature Pad in a C# Web Forms application. The signature pad displays and the Clear button is clickable, but the canvas won't open up to allow entry of the signature. I have had to change signature-pad ID to signaturepad, could that be the reason it isn't working? HELP!!

</div>
    <hr class="double" />
<asp:HiddenField ID="hfimg" runat="server" />
       <div id="signaturepad" class="signature-pad" runat="server">
    <div class="signature-pad--body" runat="server">
      <canvas></canvas>
    </div>
    <div class="signature-pad--footer" runat="server">
      <div class="description">Sign above</div>

      <div class="signature-pad--actions" runat="server">
        <div>
          <button type="button" class="button clear" data-action="clear">Clear</button>
        </div>
      </div>
    </div>
  </div>

  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/signature_pad.umd.min.js"></script>
  <script src="Content/app.js"></script>

0

There are 0 answers