title: mvc razor refresh image after uploading a new one
body: <p>i hava a problem with refreshing an image after uploading a new one. 
  By clicking on the change button i want to upload a new image and the old one should be refreshed. Do you have an idea how to solve that? </p>
  
  <pre><code>&lt;img src="@Url.Content(String.Format("~/Logos/{0}.png", ViewData["companyName"]))" alt="Loading..." /&gt;
  &lt;input class="btn btn-default"  id="changeButton" type="button" value="Logo ändern"/&gt;&lt;br/&gt;
  &lt;input id="uploadLogo" type="file" name="logoName" style="display: none"&gt;
  </code></pre>
  
  <p>With jQuery i starting the file upload by clicking on the changeButton </p>
  
  <pre><code>    $('#changeButton').click(function () {
      $('#uploadLogo').trigger('click');
  });
  </code></pre>