I have used the below code to display image on top of the page. For condition1
div1.Visible = true;
div2.Visible = false;
For condition2,
div1.Visible = false;
div2.Visible = true;
and the code in the aspx page is like this.
<div id="div1" runat="server" style="padding-left: 110px;">
<img src="~/images/Package-Summary.gif" alt="Package Summary" />
</div>
<div id="div2" runat="server" style="padding-left: 110px;">
<img src="~/images/Process-Billing.gif" alt="Process Billing" />
</div>
Here it doesnot show me the image, instead shows an error box in that part!! What might be the reason!!!