Posted on: 12/15/2013 1:44:38 PM | Views : 744

I am trying to get a dropdownlist to be updated by SelectedIndexChanged.
<asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem>one</asp:ListItem> <asp:ListItem>two</asp:ListItem> <asp:ListItem>three</asp:ListItem> <asp:ListItem>four</asp:ListItem> <asp:ListItem>five</asp:ListItem> </asp:DropDownList> Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged Select Case DropDownList1.Text Case "one" TextBox1.Text = 1 Case "two" TextBox1.Text = 2 Case "three" TextBox1.Text = 3 Case "four&qu ...

Go to the complete details ...