title: button events in datalists
body: <p>I have a datalist and want to dynamically add buttons to it. I am using the OnItemCommand datalist event and setting the CommandName/ CommandArgument attributes of the button.
  However I am having trouble with handling the button click - does not seem to fire. </p>
  
  <p>It works when I declared a button on the aspx page, but not for buttons that are dynamically created.</p>
  
  <p>I hope this makes sense, and any help would be great.</p>
  
  <p>Thanks </p>