title: How to find index of a control in a placeholder
body: <p>I have the following code : </p>
  
  <pre><code>   Label docsLabel = new Label();
     docsLabel = (Label)tasksPlaceholder.FindControl("taskdocs_" + taskId);
     int index = tasksPlaceholder.Controls.IndexOf(docsLabel);
  </code></pre>
  
  <p>The label is found within the placeholder, but when I call .IndexOf() it always returns -1.</p>
  
  <p>How do I find the correct position of this control?</p>