title: How to display image after selecting path in FileUpload controller without clicking
body: <p>Recently I have been developing web form application in ASP.NET (c#):
  I have an Image control:</p>
  
  <pre><code>&lt;asp:Image ID="Avatar" runat="server" Height="225px" ImageUrl="~/Images/NoUser.jpg" Width="225px" /&gt;
  </code></pre>
  
  <p>And FileUpload &amp; Button control</p>
  
  <pre><code>&lt;asp:FileUpload ID="avatarUpload" runat="server" /&gt;
  &lt;asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="Upload" /&gt;
  </code></pre>
  
  <p>When user click button then "Upload" code is executed (the image is sent to the database). Problem is that I like to display the image which the user selected in Avatar Image controller before the user clicks "desperate" button.</p>
  
  <p>Is that possible to do this automatically?</p>