My code-behind function is below.
1 Protected Sub tx_taserDeputy_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles tx_taserDeputy.SelectedIndexChanged
2 Session("taserDeputy") = tx_taserDeputy.SelectedItem.Value
3
4 End Sub
Here is my dropdownlist
1 <asp:DropDownList ID="tx_taserDeputy" runat="server" DataSourceID="DSesocad"
2 DataTextField="NAME" DataValueField="NAME" Font-Names="Verdana" Font-Size="8pt" AppendDataBoundItems="True">
3 <asp:ListItem Selected="True"></asp:ListItem>
4 </asp:DropDownList>
Obviously I have a dropdownlist that is supposed to fire the above selectedindexchanged function. I have a popup window that is another aspx
page that checks to see if the session variable in the selectedindexchanged function is set properly.
This is not working. Any ideas what my be wrong?