title: change image url when click image button
body: <p>I had three image buttons they had default image url and I tried to change image url when user click on any image button and the default retrieve when user click to other image button  tried to do that but I did not </p>
  
  <pre><code>&lt;aspx&gt;
  &lt;div class="hom_but_sa hom_but_saR"&gt;
      &lt;asp:ImageButton ID="BTNPromotion" ImageUrl="images/home-bu_npro.jpg"
          runat="server" Width="134" Height="34" border="0"
          OnClick="BTNPromotion_Click" /&gt;
  &lt;/div&gt;
  &lt;div class="hom_but_a hom_but_sbR"&gt;
      &lt;asp:ImageButton ID="BTNNewProduct" ImageUrl="images/home-bu_pro.jpg"
          runat="server" Width="134" Height="34" border="0" 
          OnClick="BTNNewProduct_Click" /&gt;
  &lt;/div&gt;
  &lt;div class="hom_but_a"&gt;
      &lt;asp:ImageButton ID="BTNEvent" runat="server" ImageUrl="images/home-bu_news.jpg"
          Width="134" Height="34" border="0" OnClick="BTNEvent_Click" /&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;cs&gt;
  protected void BTNEvent_Click(object sender, ImageClickEventArgs e)
  {        
      BTNEvent.ImageUrl = "images/home-bu_news.jpg";      
  }
  protected void BTNNewProduct_Click(object sender, ImageClickEventArgs e)
  {
      BTNNewProduct.ImageUrl = "images/home-bu_pro_r.jpg";
  }
  protected void BTNPromotion_Click(object sender, ImageClickEventArgs e)
  {     
      BTNPromotion.ImageUrl = "images/home-bu_npro_r.jpg";
  }
  </code></pre>