Fix Asp ListBox OnSelectedIndexChanged not firing

Add AutoPostBack="True" on ListBox  tag



ref https://forums.asp.net/t/1265638.aspx?Asp+ListBox+OnSelectedIndexChanged+not+firing

<asp:ListBox ID="listBoxLocation" runat="server" Height="92px" Width="200px" AutoPostBack="True" OnSelectedIndexChanged="listBoxLocation_SelectedIndexChanged" EnableViewState="True">

留言

熱門文章