title: Dropdownlist SelectedIndexChanged event do not trigger inside jQuery ui-Dialog
body: <p>I have a <strong>Dropdownlist</strong> with <strong>SelectedIndexChanged</strong> event inside <strong>jQuery ui-Dialog</strong>, but when I select an item in the <strong>DropdownList</strong>, <strong>SelectedIndexChanged</strong> event is not triggering though I already set <strong>AutopostBack</strong> to <strong>true</strong>, what could be the caused of this problem? any idea?</p>
  
  <p>Here is my sample code:</p>
  
  <pre><code> $(document).ready(function () {
  
              init();
  
              Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
  
              function EndRequestHandler(sender, args) {
                  init();
  
              }
          });
  </code></pre>
  
  <p><strong>javascript function:</strong></p>
  
  <pre><code>function init() {
  
              $(".dialog-form").dialog({
                  autoOpen: false,
                  modal: true,
                  draggable: false,
                  width: 1000,
                  height: 600,
                  close: function () {
  
                      $('body').css('overflow', 'auto');
                      $(".dialog-form").dialog("close");
                  }
              }).parent().appendTo("form1");
  
              $(".add_ppmp").click(function () {
                  $(".dialog-form").dialog("open");
                  $('body').css('overflow', 'hidden');
              });
  }
  </code></pre>
  
  <p>aspx code:</p>
  
  <pre><code>  &lt;div class="dialog-form" title="Item"&gt;
              &lt;div class="formholderborder"&gt;
                  &lt;div class="subadetail"&gt;
                  &lt;div class="listtable" style="margin-right: 15px;"&gt;
                      &lt;asp:DropDownList ID="DropDownList1" runat="server" OnInit="LoadItems"  AutoPostBack="true" OnSelectedIndexChanged="cmbItem_SelectedIndexChanged"&gt;&lt;/asp:DropDownList&gt;
                  &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>