title: Textbox with jQuery datepicker OnTextChanged not firing
body: <p>I have a asp:textbox with a OnTextChanged event that I want to fire when ever a new date is selected from the jQuery datepicker that is bound to it but when selecting a date, the OnTextChanged never fires. It fires if I change the text 'by hand' but I want to force the user to select the date from the datepicker. I need to run server side code each time the date is changed. I have tried using the onSelect method on the datepicker but was unable to get it to call the method.</p>
  
  <p>Here is my client side code:</p>
  
  <pre><code> function pageLoad() {
      $(".datepicker").datepicker({
          constrainInput: true,
          dateFormat: 'dd D M yy'
      });
  }
  
  &lt;asp:UpdatePanel runat="server" ChildrenAsTriggers="True"&gt;
  &lt;ContentTemplate&gt;
      &lt;asp:TextBox ID="txtPickupDate" runat="server" OnTextChanged="txtPickupDate_TextChanged" CssClass="datepicker"
         AutoPostBack="true" &gt;
      &lt;/asp:TextBox&gt;
      &lt;asp:DropDownList ID="ddlPickupTime" runat="server" /&gt;
  &lt;/ContentTemplate&gt;
  </code></pre>
  
  <p></p>
  
  <p>Greatly appreciate any help</p>
  
  <p>Update: Was asked to include the TextChanged function. Didn't post it initially as it isn't firing the method and figured it didn't affect the solution but regardless, here it is:</p>
  
  <pre><code>protected void txtPickupDate_TextChanged(object sender, EventArgs e)
      {
          DateTime pickupDate = DateTime.Parse(txtPickupDate.Text);
          //do things with the date
      }
  </code></pre>