pageLoad() not firing in a dynamically loaded page using .NET 4.0 (Works fine on 3.5)
<p>I have a simple aspx page with a link to load another aspx page on right div (using JQuery load), like that:</p>

<pre><code>&lt;%@ Page Title="Home Page" Language="C#"  AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %&gt;
&lt;html&gt;
&lt;head&gt;
   &lt;script type="text/javascript" src="Scripts/jquery-1.6.2.js"&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id="form1" runat="server"&gt;

    &lt;script type="text/javascript"&gt;
        function loadPage() {
            $('#myRightdiv').load('Test.aspx', function () {});
        }
    &lt;/script&gt;

 &lt;asp:Button ID="Button1" runat="server" Text="Load ..." OnClientClick="loadPage(); return false;" /&gt;
 &lt;div id="myRightdiv"&gt;&lt;/div&gt;
 &lt;/form&gt;
</code></pre>

<p>
</p>

<p>In my Test.aspx I have a pageLoad like that:</p>

<pre><code>&lt;%@ Page Title="Test" Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="About" %&gt;

&lt;html&gt;
&lt;head id="Head1" runat="server"&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id="form1" runat="server"&gt;
  &lt;asp:ScriptManager ID="ScriptManager1" runat="server" /&gt;
  &lt;script type="text/javascript"&gt;
    function pageLoad() {          
       alert("pageloaded");
    }        
  &lt;/script&gt; 

&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>That works fine on ASP .NET 3.5 .... But using .NET 4.0 the pageLoad is not fired! </p>

<p>Any idea or workaround?</p>

<p>Thanks</p>
