title: ControlID is not recognized in code behind
body: <p>This is my asp code</p>
  
  <pre><code>&lt;tr class="footer" runat="server"&gt;
      &lt;td colspan="4" runat="server"&gt;* By WWW.Play.org
         &lt;asp:DropDownList AutoPostBack="true" runat="server" ID="callDispositionSelector" OnSelectedIndexChanged="callDispositionChanged"&gt;
             &lt;asp:ListItem Value="-1"&gt;Select Disposition Reason&lt;/asp:ListItem&gt;
             &lt;asp:ListItem Value="1"&gt;Reservation&lt;/asp:ListItem&gt;
             &lt;asp:ListItem Value="2"&gt;Change of Reservation&lt;/asp:ListItem&gt;
             &lt;asp:ListItem Value="3"&gt;Cancellation&lt;/asp:ListItem&gt;
             &lt;asp:ListItem Value="4"&gt;Wait List&lt;/asp:ListItem&gt;
             &lt;asp:ListItem Value="5"&gt;Other&lt;/asp:ListItem&gt;
         &lt;/asp:DropDownList&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>In code behind, I am not able to type this <code>callDispositionSelector</code>. In other words, visual studio doesn't recognize that id. </p>
  
  <p>I tried clean, rebuild, restart visual stuidio but nothing helps. </p>
  
  <p>I tried change the id to another name but still not recognizable.</p>
  
  <p>I tried deleing the designer , and then regenerate it but still the same problem</p>
  
  <p>i tried restart the windows but still the same problem </p>
  
  <h3>Note</h3>
  
  <p>this controller exist in <code>Item Template</code> in <code>asp.ListView</code></p>