I need to handle the Command event for an ImageButton web control on an ASPX page in a VB.NET project.

My Imagebutton is being instantiated and added to a place holder control's collection. How can I tell VB which procedure will handle the event?

I have tried using the AddHandler but my popup list of event objects only includes those objects that exist at design time. I have tried refering to my newly created image button anyway, and get no error when the code runs, but it doesn't fire my procedure when it should:
VB Code:
  1. ' Add Image Button
  2. ibnConfirm = New ImageButton
  3. ibnConfirm.ImageUrl = "Confirm16.ico"
  4. ibnConfirm.CommandName = "Confirm"
  5. ibnConfirm.CommandArgument = e.Item.DataItem("pk_Quotation_in")
  6. ibnConfirm.ToolTip = "Confirm Quotation"
  7. AddHandler ibnConfirm.Command, AddressOf ibnConfirm_Command
  8.  
  9. ' Add to place holder collection
  10. plhConfirm.Controls.Add(ibnConfirm)

My procedure to handle the Command Event:
VB Code:
  1. Private Sub ibnConfirm_Command(ByVal sender As Object, ByVal e As CommandEventArgs)
  2.  
  3. End Sub