title: How to Load an .aspx page in Div with jQuery in asp.net?
body: <p>I have an <code>.aspx page</code> with Vertical <code>Menus</code> on left containing <code>div</code>. and <code>clicking</code> on Left i want to show the content of <code>ExternalPage.aspx</code> in a <code>div</code> on right side of <code>div</code>. I have <code>loaded</code> the content of a <code>ExternalPage.aspx</code> in my home page this works fine. but, when i click on <code>search button</code> of <code>ExternalPage.aspx</code> it <code>Redirects</code> me to the <code>ExternalPage.aspx</code> and then it displays result.</p>
  
  <p><strong>Markup:</strong></p>
  
  <pre><code>  &lt;div id="divExternalPage"&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p><strong>JQuery:</strong></p>
  
  <pre><code>function LoadPage() {
     $.get('http://mywebsite/ExternalPage.aspx', function(data) {
         $('#divExternalPage').html(data);
     });
  }
  </code></pre>
  
  <p><strong>NOTE:</strong> 
  <em>I don't want to use iframe.</em></p>
  
  <p><strong>How to Prevent this <code>Redirect</code>to <code>ExternalPage.aspx</code></strong> and show the results in the same <code>div</code> where it has being loaded i.e in <code>divExnternalPage</code> ?</p>