title: After upgrading to .NET 4.5, event in UserControl with GridView OnRowCommand with Linkbutton doesn't fire
body: <p>I have a stable application where one function suddenly stopped working, after upgrading from .NET 4 to .NET 4.5. The error has been isolated to an event not firing and it has been confirmed beyond any doubt (on 2 servers and 3 workstations), that this error only happens after the .NET 4.5 upgrade (and did not happen before).</p>
  
  <p>I have the following:</p>
  
  <ul>
  <li>An empty aspx that only contains a usercontrol (don't ask)</li>
  <li>The user control contains a GridView that is loaded with content after a postback.</li>
  <li>The GridView contains a LinkButton.
  <ul>
  <li>The Text comes from an Eval</li>
  <li>It also has an OnDataBinding event that sets the CommandArgument</li>
  </ul></li>
  <li>The GridView contains an OnRowCommand.</li>
  </ul>
  
  <p>The event in the OnRowCommand is fired in .NET 4.0 and is not fired in .NET 4.5.</p>
  
  <p>Any clues?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I simplified my code and got closer to the core of the problem. I found that it was caused by <code>AllowCustomPaging="True"</code> on the GridView. After removing this, the postback works fine.</p>