I am adding imagebuttons at runtime into a table. I am having trouble with the click event. It just doesn't happen. Maybe someone can help. It is just doing a postback when I click on the imagebutton. <BR><BR>I declared the imagebutton withevents. In the page load routine I make it a new imagebutton and add it to the table. <BR><BR>Protected WithEvents newThumb As System.Web.UI.WebControls.ImageButton<BR><BR>newThumb = New System.Web.UI.WebControls.ImageButton()<BR><BR>Thanks in advance.try:<BR><BR>Protected WithEvents newThumb As System.Web.UI.WebControls.ImageButton<BR><BR>AddHandler newThumb.Click, New System.EventHandler(AddressOf Me.newThumb_Click) <BR>