title: "System is undefined" JavaScript error when using click handler?
body: <p>I have a gridview with a button in one of the columns. I add columns to the gridview with the code behind. I used this line to attach my click event: </p>
  
  <p><code>cmd1.OnClientClick += new EventHandler(cmd1_Click);</code> </p>
  
  <p>Now every time I click that button, it gives me a run time error and breaks at <code>System.EventHandler</code> of <code>&lt;input type="submit" name="grvList$ctl02$ctl05" value="Add" onclick="System.EventHandler;" /&gt;</code></p>
  
  <p>Has anyone ran into this problem.</p>