title: TextBox textchange event inside usercontrol
body: <p>I want to trigger textchange event of txtPlanCode inside the usercontrol but unfortunately my textchange is not triggered. whats wrong with my code? </p>
  
  <p>Please help thanks :)</p>
  
  <pre><code> //CodeBehind of my page
  protected void ucPlan_OnTextChanged(object sender, EventArgs e)
  {
      TxtPlanDesc.Text = Session["PlanDesc"].ToString();
  }
  
  //Client side (.aspx) 
  
  &lt;uc2:PlanID ID="ucPlanCode" runat="server"  ucPlan_OnTextChanged="ucPlan_OnTextChanged" autopostback="true"/&gt;
  
  //ucPlanID.ascx.cs
  
  protected void Page_Load(object sender, EventArgs e)
  {
  
  }
  
  public string PlanID
  {
      get
      {
           return txtPlanCode.Text;
      }
      set
      {
           txtPlanCode.Text = value;
      }
   }
  
   public bool AutoPostBack
   {
       get
       {
            return txtPlanCode.AutoPostBack;
       }
       set
       {
            txtPlanCode.AutoPostBack = value;
       }
   }
  
   //ucPlanID.ascx 
  
  &lt;asp:TextBox ID="txtPlanCode" runat="server" CssClass="form-control" MaxLength="20" Enabled="true" Text='&lt;%#Eval("PlanCode") %&gt;' OnTextChanged="txtPlanCode_TextChanged"&gt;&lt;/asp:TextBox&gt;
  </code></pre>