I can load login page but the controls are not getting displayed using jquery ui?
<p>I am trying to load a login page through JQuery UI. When I debugged the code, found that it gets debugged to the <code>page_load</code> event and after running the application, the controls in that page is not getting displayed in front end? </p>

<p>In Master page I have a Login button, on clicking the button Login page needs to be loaded using JQuery UI.</p>

<p>Login page has the following code:</p>

<pre><code>&lt;asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server"&gt;
    &lt;div id="loginPanel" runat="server"&gt;
        &lt;asp:Label ID="lblUsername" runat="server" Text="Username"&gt;&lt;/asp:Label&gt;
        &lt;asp:TextBox ID="txtUsername" runat="server"&gt;&lt;/asp:TextBox&gt;
        &lt;asp:Label ID="lblPassword" runat="server" Text="Password"&gt;&lt;/asp:Label&gt;
        &lt;asp:TextBox ID="txtPassword" runat="server" TextMode="Password"&gt;&lt;/asp:TextBox&gt;
        &lt;asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="LoginClick" /&gt;
        &lt;asp:Button ID="btnClear" runat="server" Text="Clear" /&gt;
        &lt;asp:Label ID="lblErrorMessage" runat="server" Text=""&gt;&lt;/asp:Label&gt;
    &lt;/div&gt;
&lt;/asp:Content&gt;
</code></pre>

<p>JQuery Code:</p>

<pre><code>$.ajax({
      url: 'Login.aspx',
      success: function (data) {
          $('.result').html(data);
          alert('Load was performed.');
          }
      });
</code></pre>

<p>The page control values are getting loaded in the "data" but not getting displayed in the front page.</p>

<p>What do I need to do ?</p>
