below is my dropdownlist with autopostback true now when i select prefix1 it gives me a post back but when i select it again it doesnt. I have to select prefix2 item first and then go back to prefix1 for it to postback again. Its like as if its postbacking only with SeletedIndexChange
.
I need postback evrytime I choose in my dropdownlist even if its the same item:
<asp:DropDownList runat="server" ID="lstFilePrefix1" AutoPostBack="True"
OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" >
<asp:ListItem Text="Prefix1" Value="Prefix1" />
<asp:ListItem Text="Prefix2" Value="Prefix2" />
<asp:ListItem Text="Prefix3" Value="Prefix3" />
<asp:ListItem Text="Prefix1 and Prefix2" Value="Prefix1 and Prefix2" />
<asp:ListItem Text="Prefix2 and Prefix3" Value="Prefix2 and Prefix3" />
</asp:DropDownList>