title: Send parameter to addhandler?
body: <p>I have a button in a grid that I created programmatically. The button edits some data in a table using data in a hidden column of the grid that the button is in. Normally I send a hidden field the row data using javascript onclientclick of the button then make the changes to the database using that hidden field. But there must be a way to send the addhandler of the button a parameter. This is the code i have to clarify....</p>
  
  <pre><code>Dim btnedit As New ImageButton
      AddHandler btnedit.Click, AddressOf btnedit_Click
      btnedit.ImageUrl = "\images\bttnEditMini.gif"
  
  If e.Row.RowType &lt;&gt; DataControlRowType.Header And e.Row.RowType &lt;&gt; DataControlRowType.Footer Then
          e.Row.Cells(3).Controls.Add(btnedit)
  End If
  </code></pre>
  
  <p>here is my Addhandler with its delegate:</p>
  
  <pre><code>Public Delegate Sub ImageClickEventHandler(ByVal sender As Object, ByVal e As ImageClickEventArgs)
  Sub btnedit_Click(ByVal sender As Object, ByVal e As ImageClickEventArgs)
  //programming stuff
  End Sub
  </code></pre>
  
  <p>How can i send this handler a parameter?</p>