title: Updating placeholder during runtime
body: <p>here is the problem I am having with placeholder:</p>
  
  <p>I have a repeater and within that repeater, I have an item template. Now this template is formatted with a couple of tables, but for this question I have removed them to make things easier to read:</p>
  
  <pre><code>&lt;asp:Repeater ID="Repeater1" OnItemDataBound="R1_ItemDataBound" runat="server"&gt;
  
     &lt;ItemTemplate&gt;
        &lt;asp:PlaceHolder ID="phAnswers" runat="server"&gt;&lt;/asp:PlaceHolder&gt;               
     &lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>Then, on the event OnItemDataBound, I create a new placeholder, bind it to the existing on (phAnswers), however the placeholder is not updated with the radiobuttons/textboxs that are created:</p>
  
  <pre><code>    Dim rdList As New RadioButtonList
      Dim newRadio As New RadioButton
  
   If (e.Item.ItemType = ListItemType.Item) Or _
          (e.Item.ItemType = ListItemType.AlternatingItem) Then
  
          Dim tempPH As PlaceHolder
  
          tempPH = e.Item.FindControl("phAnswers")
  
          For x As Integer = 0 To (t_MC.Count - 1)
  
                  newRadio = New RadioButton
  
                  newRadio.ID = "Answer" + x.ToString
                  newRadio.Text = t_MC(x).Value
                  rdList.Controls.Add(newRadio)
  
              Next
  
     tempPH.Controls.Add(rdList)
  </code></pre>
  
  <p>Any ideas why phAnswers is not updated with the new tempPH placeholder?
  Cheers</p>