title: ASPxTabControl created dynamically does not receive input events
body: <p>I have a ASP page with a ASPxTabControl created dynamically (in C#/code behind). The first tab is selected. </p>
  
  <p>But for some reason if I click the 2nd tab, it does not get selected. Any idea's why this could be the case? </p>
  
  <p>Here is my C# code:</p>
  
  <pre><code>        Label question1 = new Label();
          question1.Text = "Vraag 1";
          question1.Font.Bold = true;
          placeHolderVrResults.Controls.Add(question1);
          ASPxTabControl tabQuestion1 = new ASPxTabControl();
          tabQuestion1.TabStyle.BackColor = Color.White;
          tabQuestion1.Paddings.PaddingLeft = 0;
          tabQuestion1.Paddings.PaddingRight = 0;
          tabQuestion1.Enabled = true;
          tabQuestion1.EnableClientSideAPI = true;
  
          Tab tab1 = new Tab();
          tab1.Text = "1";
          tab1.ActiveTabStyle.BackColor = Color.FromArgb(0, 26, 171, 178);
          Tab tab2 = new Tab();
          tab2.Text = "2";
          tab2.ActiveTabStyle.BackColor = Color.FromArgb(0, 26, 171, 178);
  
          tabQuestion1.Tabs.Add(tab1);
          tabQuestion1.Tabs.Add(tab2);
          placeHolderVrResults.Controls.Add(tabQuestion1);
  </code></pre>
  
  <p>If I use ASPxTabControl in the .aspx page, then it just works. </p>
  
  <p>So I must be missing some property of ASPxTabControl which needs to be set such that it can receive input/mouse events?</p>
  
  <p>BR, Rene</p>