title: .net - How do you Register a startup script?
body: <p>I have limited experience with .net.  My app throws an error this.dateTimeFormat is undefined which I tracked down to a known ajax bug.  The workaround posted said to:</p>
  
  <p>"Register the following as a startup script:"</p>
  
  <pre><code>Sys.CultureInfo.prototype._getAbbrMonthIndex = function(value)
  {
  if (!this._upperAbbrMonths) {
  this._upperAbbrMonths = this._toUpperArray(this.dateTimeFormat.AbbreviatedMonthNames);
  }
  return Array.indexOf(this._upperAbbrMonths, this._toUpper(value));
  };
  </code></pre>
  
  <p>So how do I do this?  Do I add the script to the bottom of my aspx file?</p>