ASP.NET/Jquery: document ready in update panel?
<p>I have the following user-control:</p>

<pre><code>&lt;%@ Control Language="C#" AutoEventWireup="true" CodeFile="FadingMessage.ascx.cs" Inherits="includes_FadingMessage" %&gt;

&lt;asp:PlaceHolder Visible="false" runat="server" ID="plhMain"&gt;
&lt;span id="&lt;%= this.ClientID+"_panel" %&gt;" style="background-color:yellow; padding:10px;"&gt;
&lt;b&gt;&lt;%= Message %&gt;&lt;/b&gt;
&lt;/span&gt;

&lt;script type="text/javascript" language="javascript"&gt;

$(document).ready(function() {
    alert("never gets here??");
    jQuery('#&lt;%= this.ClientID+"_panel" %&gt;').fadeOut(1000);  
});

&lt;/script&gt;

&lt;/asp:PlaceHolder&gt;
</code></pre>

<p>Which is used in an asp:UpdatePanel. My problem is that $(document).ready is never fired?</p>

<p>How can I detect when a partial rendering has finished?</p>
