title: Dynamically creating controls inside a repeater
body: <p>I have 2 Drop down controls inside a repeater and i have to repeat those with a button click how can i achieve it??</p>
  
  <pre><code>if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) 
  { 
      TextBox t = new TextBox(); 
      t.ID = e.Item.ItemIndex.ToString(); 
      e.Item.Controls.Add(t); 
  } 
  </code></pre>
  
  <p>is this is the correct way but how can i find the button inside a repeater and fire it.</p>