title: how to find control of dropdownlist inside a datalist
body: <p>I have a DataList and inside it I have a DropDownList:</p>
  
  <pre><code>  &lt;asp:DataList ID="dlconfigureItem" runat="server"&gt;
      &lt;ItemTemplate&gt;
      &lt;asp:DropDownList CssClass="config-select" ID="ddlitem    runat="server"&gt;&lt;/asp:DropDownList&gt;
    &lt;/ItemTemplate&gt;
    &lt;/asp:DataList&gt;
  </code></pre>
  
  <p>How can I get selectedindexchanged event of DropDownList on the server side? I tried this:</p>
  
  <pre><code>   public void ddlitem_selectedindexchanged (object sender, EventArgs e)
      {
  
      }
  </code></pre>
  
  <p>but it is not working.</p>