title: OnClientClick does not work with asp.net and vb.net
body: <p>I try to create a dynamic web solution with ASP.NET and VB.</p>
  
  <p>My webpage looks like this:</p>
  
  <pre><code>&lt;div id="menu" style="position:relative;text-align:center"&gt;
          &lt;asp:PlaceHolder runat="server" id="PHimg1" /&gt;
          &lt;asp:PlaceHolder runat="server" id="PHimg2" /&gt;
          &lt;asp:PlaceHolder runat="server" id="PHimg3" /&gt;
          &lt;br /&gt;
          &lt;asp:PlaceHolder runat="server" id="PHimg4" /&gt;
          &lt;asp:PlaceHolder runat="server" id="PHimg5" /&gt;
          &lt;asp:PlaceHolder runat="server" id="PHimg6" /&gt;
          &lt;br /&gt;
          &lt;asp:PlaceHolder runat="server" id="PHimg7" /&gt;
          &lt;asp:PlaceHolder runat="server" id="PHimg8" /&gt;
          &lt;asp:PlaceHolder runat="server" id="PHimg9" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The VB part like this:</p>
  
  <pre><code>Public Class index
  Inherits System.Web.UI.Page
  
  Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
      Load_Main()
  End Sub
  
  Protected Sub Load_Main()
      Dim img1 As New ImageButton()
      Dim img2 As New ImageButton()
      Dim img3 As New ImageButton()
      Dim img4 As New ImageButton()
      Dim img5 As New ImageButton()
      Dim img6 As New ImageButton()
  
      img1.ImageUrl = "./resources/EssenTrinken.png"
      img1.OnClientClick = "Load_Eating()"
  
      img2.ImageUrl = "./resources/Einkaufen2-black.png"
      img3.ImageUrl = "./resources/Special-black.png"
      img4.ImageUrl = "./resources/KosmetikWellness.png"
      img5.ImageUrl = "./resources/KulturGeschichte.png"
      img6.ImageUrl = "./resources/Unterhaltung2-black.png"
  
      PHimg1.Controls.Add(img1)
      PHimg2.Controls.Add(img2)
  
      PHimg4.Controls.Add(img3)
      PHimg5.Controls.Add(img4)
  
      PHimg7.Controls.Add(img5)
      PHimg8.Controls.Add(img6)
  End Sub
  
  Protected Sub Load_Eating()
      Dim img1 As New ImageButton()
      Dim img2 As New ImageButton()
      Dim img3 As New ImageButton()
      Dim img4 As New ImageButton()
      Dim img5 As New ImageButton()
      Dim img6 As New ImageButton()
  
      img1.ImageUrl = "./resources/zurueck.png"
      img2.ImageUrl = "./resources/Bars2.png"
      img3.ImageUrl = "./resources/Cafe.png"
      img4.ImageUrl = "./resources/FastFood2.png"
      img5.ImageUrl = "./resources/Restaurant.png"
      img6.ImageUrl = "./resources/Baeckerei.png"
  
      PHimg1.Controls.Add(img1)
      PHimg2.Controls.Add(img2)
  
      PHimg3.Controls.Add(img3)
      PHimg4.Controls.Add(img4)
  
      PHimg5.Controls.Add(img5)
      PHimg6.Controls.Add(img6)
  End Sub
  
  End Class
  </code></pre>
  
  <p>I want that if I click on one of the imagebutton the hole appereance of the frontpage dynamicly changes without loading the hole page new. So I defined several PlacHolder for that. </p>
  
  <p>If I run the webapp but the functionality is not working if I hit the button. </p>
  
  <p>I checked the source and found this tag:</p>
  
  <pre><code>&lt;input type="image" name="ctl03" src="./resources/EssenTrinken.png" onclick="Load_Eating();" /&gt;
  </code></pre>
  
  <p>What is wrong with this solution?</p>