How to upload a file without refreshing the whole page?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/929217/how-to-upload-a-file-using-asp-net-without-posting-the-whole-page-back">How to upload a file using asp.net without posting the whole page back?</a>  </p>
</blockquote>



<p>I want to upload image in server folder but while uploading I don't want to refresh the whole aspx page when I click on the upload button.</p>

<p>I tried using an <code>UpdatePanel</code> with <code>AsyncPostBackTrigger</code> but it did not work, and I also tried <code>PostBackTrigger</code> but the page was refreshed.</p>
