ASP.Net DropDownList OnSelectedIndexChange not firing

前端 未结 4 1659
星月不相逢
星月不相逢 2021-01-18 03:33

I have the following DropDownList control:




        
4条回答
  •  独厮守ぢ
    2021-01-18 04:11

    AutoPostBack="true" and

    write page load event

    if (!IsPostBack)
    {
       DDL_Designation_Bind();   
    }
    

    // Because autopostback properties fire load event then our dropdownlist rebind and always selected index 0 so Not Rebinding dropDownlist

提交回复
热议问题