1. 程式人生 > >DropDownList不觸發selectedindexchanged事件的原因

DropDownList不觸發selectedindexchanged事件的原因

  1. DropDownList設定屬性AutoPostBack為true;
  2. 手動新增事件的沒有註冊 this.DropDownList.SelectedIndexChanged +=new System.EventHandler(this.DropDownList1_SelectedIndexChanged);
  3. option的value相同,傳到伺服器的資料一樣;
  4. 以上若還沒解決,就是其他原因了,或者可以換個瀏覽器試試。