title: Finding controls in placeholder
body: <p>i'm using AJAX to make a user control which contains a panel that contains label and RadioButtonList or CheckBoxList according to a condition.
  There is a placeholder in .aspx page where that control should be in.
  I need to find List from placeholder
  I tried this:</p>
  
  <pre><code> public static int id = 1;
      QuestionPanelControl q1 ;
  
      protected void Page_Load(object sender, EventArgs e)
      {
         if (!Page.IsPostBack)
          {
             LoadQuestionPanelControl();
         }
      }
  
      //Next Button
      protected void Button1_Click(object sender, EventArgs e)
      { 
          id++;
          if (id &lt;= 10)
          {
              //LoadQuestionPanelControl();
              PlaceHolder p = (PlaceHolder)Page.FindControl("PlaceHolder1");
              QuestionPanelControl c1 = (QuestionPanelControl)p.FindControl("QuestionPanelControl1");
             // QuestionPanelControl c1 = (QuestionPanelControl)p.FindControl("Panel_Question");
              RadioButtonList rb = c1.ChildRadioButtonList;
              if (rb.SelectedIndex == 0)
              {
                  //DB 
              }
              else if (rb.SelectedIndex == 1)
              {
                  //DB
              }
              else
              {
                  Lsb_Unanswered.Items.Add("Question #" + id);
              }
  
              LoadQuestionPanelControl();
  
          }
      }
  
  public void LoadQuestionPanelControl()
      {
          Session.Add("ID",id);
          q1= new QuestionPanelControl();
          q1.ID = "QuestionPanelControl1";
          Control c = Page.LoadControl("QuestionPanelControl.ascx");
          PlaceHolder1.Controls.Clear();
          PlaceHolder1.Controls.Add(c);
  
      }
  </code></pre>
  
  <p>When I use break points, I found that Controls property of p is 0.</p>
  
  <p>Note: ChildRadioButtonList is a property in the QuestionPanelControl.
  Any suggestions...</p>