title: DropdownList SelectedIndexChanged Not Fired Inside a Repeater In an UpdatePanel
body: <p>Controls below inside a repeater are placed in an update panel. First ddl has countries, its "selectedindexchanged" fills the second ddl which is for cities. Once you fill the textboxes and select the country and the city, and click the Add button, all controls' values kept in the repeater. </p>
  
  <p><img src="https://i.stack.imgur.com/XWv0j.png" alt="enter image description here"></p>
  
  <p>When you add a few more, always the final one's ddlCountry fires the ddl_SelectedIndexChanged(). If you try to change the previous one's ddlCountry value, ddl_SelectedIndexChanged() in the .cs file is not executed. I checked the page source: final ddlCountry's Id is </p>
  
  <blockquote>
    <p>cphContent_ddlAddressCountry</p>
  </blockquote>
  
  <p>and the previous one's Id is assigned sth like:</p>
  
  <blockquote>
    <p>cphContent_rpAddress_lblCountrym_0</p>
  </blockquote>
  
  <p>cphContent refers to UpdatePanel and rp does to Repeater.</p>
  
  <p>I don't know how to catch the ddl's Id inside the repeater.</p>