title: How do you really add content to a .aspx.designer.cs file?
body: <p>How do you really add content to a .aspx.designer.cs file?</p>
  
  <p>I have a stepPayment.aspx file, 
  I have a stepPayment.aspx.cs file, and
  I have a stepPayment.aspx.designer.cs file.</p>
  
  <p>The .aspx.designer.cs file has a warning at the top of the file that suggests that nothing in the file should be edited by hand:</p>
  
  <pre><code>//------------------------------------------------------------------------------
  // &lt;auto-generated&gt;
  //     This code was generated by a tool.
  //
  //     Changes to this file may cause incorrect behavior and will be lost if
  //     the code is regenerated. 
  // &lt;/auto-generated&gt;
  //------------------------------------------------------------------------------
  </code></pre>
  
  <p>Additionally, every variable in the file says it is it is an auto-generated field.  Of course the designer field suggest I can add a new field in the code behind and this is what I have eventually done.  Still, it would be good to know how to add content such that the auto-generated fields generate a new field that I want.</p>