title: Image isn't showing in Image and ImageButton
body: <p>In my ASP.NET Web forms application I am trying to set an image in UserDP folder to two controls - Image and ImageButton.
  Although it seems the URL of the image is correct, image is not being displayed on both controls. I tested the URL by browsing to it in chrome. Also it works with data URI but not with location. I'm assigning image to the control in page load. I was a bit confused by how image URLs are assigned in web forms that's why I almost always used Server.MapPath on trial-error. But now I am stuck.</p>
  
  <p>As requested, here's the behind code:</p>
  
  <pre><code>Image1.ImageUrl = Server.MapPath("UserDP\\14.jpeg");
  </code></pre>
  
  <p><strong>Edit</strong>: Sorry everyone, I forgot about this question because I moved to some other stuff and now I don't even remember the markup. Anyway thank you for helping out.</p>
  
  <p>This was an ASP.NET Web Forms application, in which I was trying to show image.
  I fixed it using solution mentioned by @JennyOReilly</p>