title: ASP.NET Controls and Generics
body: <p>can ASP.NET controls be used with generics? Never seen this done and want a way to differentiate some controls on a page by type, ie: <strong>DateTime</strong> vs <strong>int</strong></p>
  
  <p>example: </p>
  
  <pre><code>public class MyGenericTextBox&lt;T&gt;: TextBox
  {
  public MyGenericTextBox&lt;T&gt;() {... }
  }
  </code></pre>