How do I make an image that is currently hidden, become visible upon validation passing in asp.net
<p>I have a simple web form in asp.net that has some validation on the form fields. I also have an image whose visibility is set to false. In my validation if statement I want code that will make that image visible if the validation has passed. Below is what I have but the image is not displaying. Thanks!</p>

<pre><code>if (!Page.IsValid) return;

      //Order is valid. Process it.
      lblOrderDetails.Text = "&lt;h1&gt;Success!&lt;/h1&gt;" +
          "&lt;b&gt;Email: &lt;/b&gt; " + tbEmail.Text + "&lt;br /&gt;" +
          "&lt;b&gt;Model: &lt;/b&gt; " + dlModel.SelectedItem.Text + "&lt;br /&gt;" +
          "&lt;b&gt;Discounts: &lt;/b&gt; ";

      imgSnowboard.Visible = true;



&lt;asp:Image Visible="false" runat="server" ImageUrl="~/SnowBoard.jpg" ID="imgSnowboard"/&gt;
</code></pre>
