Dropdownlist控件属性 OnSelectedIndexChanged方法不触发

<asp:DropDownList ID="ddlWJLX" runat="server" OnSelectedIndexChanged="ddlWJLX_SelectedIndexChanged">
</asp:DropDownList>

解决方案:

  1. AutoPostBack="true"
<asp:DropDownList ID="ddlWJLX" runat="server" OnSelectedIndexChanged="ddlWJLX_SelectedIndexChanged" AutoPostBack="true">
</asp:DropDownList>

 

posted @ 2017-12-26 19:51  章朔  阅读(1380)  评论(0编辑  收藏  举报