Open JKWathen opened 8 years ago
Sorry to say but I have no experience with ASP.NET. What's the UpdatePanel doing exactly?
Hi Thanks for getting back to me so quick on this. I have it inside an ajax update panel that when I click on any button that posts back it acts like it is not refreshed or displayed at all. I am not sure if maybe initially there is a function that gets called to display it that is not called subsequently when inside an update panel. Thanks
Possibly. Can your code detect when the UpdatePanel is re-triggered and maybe re-execute the signaturepad setup?
Possibly, what do I need to call for the signaturepad setup?
Date: Sun, 1 Nov 2015 18:38:47 -0800 From: notifications@github.com To: signature-pad@noreply.github.com CC: kylewathen@hotmail.com Subject: Re: [signature-pad] Inside a UpdatePanel (#167)
Possibly. Can your code detect when the UpdatePanel is re-triggered and maybe re-execute the signaturepad setup?
— Reply to this email directly or view it on GitHub.
I'm thinking the .signaturePad()
function.
Thanks for the great control. I am using this in a ASP.NET application and have it inside an update panel. If the user clicks a button inside the update panel, not related to the signature-pad, the signature-pad no longer works and the signature box is gone. It does not the same thing if I click the submit button. I have gotten it to work perfectly outside of the update panel. Any idea what I need to do to fix this?
Below is my ASPX code and I can send you the C# code behind if you need.
Thanks in advance.
Here is the code in my ASPX file
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestSignature.aspx.cs" Inherits="TestSignature" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">