Async postback not working
<p>I'm using this gauge in my contentplaceholder.</p>

<p><a href="http://www.dariancabot.com/projects/jgauge_wip/" rel="nofollow">http://www.dariancabot.com/projects/jgauge_wip/</a></p>

<p>MyControl.ascx:</p>

<pre><code>&lt;link rel="stylesheet" href="Scripts/jgauge.css" type="text/css" /&gt;
&lt;script type="text/javascript" src="Scripts/jquery-1.8.0.js"&gt;&lt;/script&gt;
&lt;script language="javascript" type="text/javascript" src="Scripts/jgauge-0.3.0.a3.js"&gt;&lt;/script&gt;
&lt;script language="javascript" type="text/javascript" src="Scripts/jQueryRotate.2.2.js"&gt;&lt;/script&gt;
&lt;script language="javascript" type="text/javascript" src="Scripts/excanvas.min.js"&gt;&lt;/script&gt;

&lt;div id="&lt;%=this.ClientID%&gt;_ctl" class="jgauge" &gt;&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    $(document).ready(function () {
    var isPostBack = &lt;%= Page.IsPostBack ? "true" : "false" %&gt;;
        if(isPostBack == "true")
        {
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
            prm.add_endRequest(onEndRequest);
        }
        else{
                var &lt;%=this.ClientID%&gt;_ctl;

                &lt;%=this.ClientID%&gt;_ctl = new jGauge(); 
                &lt;%=this.ClientID%&gt;_ctl.id = '&lt;%=this.ClientID%&gt;_ctl';
                &lt;%=this.ClientID%&gt;_ctl.init(); 
 }
    });

    function EndRequestHandler(sender, args){  
        var &lt;%=this.ClientID%&gt;_ctl;
        &lt;%=this.ClientID%&gt;_ctl = new jGauge(); 
        &lt;%=this.ClientID%&gt;_ctl.id = '&lt;%=this.ClientID%&gt;_ctl';
        &lt;%=this.ClientID%&gt;_ctl.init();
}
&lt;/script&gt;
</code></pre>

<p>In MyPage.aspx: (Contains dynamically created table having several such controls. putting the generated table on placeholder)</p>

<pre><code>&lt;asp:UpdatePanel ID="up1" runat="server"&gt;
    &lt;ContentTemplate&gt;
        &lt;asp:PlaceHolder id="phMain" runat="server" /&gt;
    &lt;/ContentTemplate&gt;
    &lt;Triggers&gt;
        &lt;asp:AsyncPostBackTrigger ControlID="myBtn" /&gt;
    &lt;/Triggers&gt;
&lt;/asp:UpdatePanel&gt;
&lt;asp:Button ID="myBtn" runat="server" Text="Refresh" /&gt; 
</code></pre>

<p>I have script manager on master page:</p>

<pre><code>&lt;asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"&gt;&lt;/asp:ScriptManager&gt;
</code></pre>

<p>But after async postback (hitting 'myBtn'), gauge disappears. Please Help. Trying to solve it since couple of days. </p>
