0

Hi every one I am facing alittle problem I have a drop down list that enable the user to select a number when the user select anumber another drop down list will appear i write the code and it work with me but when i put it in a multi view it doesn't work here is the code

Protected Sub numberofcitiesintendtovisit1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles numberofcitiesintendtovisit.SelectedIndexChanged

        If numberofcitiesintendtovisit1.SelectedIndex = "1" Then
            DropDownList2.Visible = True
            DropDownList3.Visible = False
            DropDownList4.Visible = False
            DropDownList5.Visible = False
        End If

        If numberofcitiesintendtovisit1.SelectedIndex = "2" Then
            DropDownList2.Visible = True
            DropDownList3.Visible = True
            DropDownList4.Visible = False
            DropDownList5.Visible = False
        End If

        If numberofcitiesintendtovisit1.SelectedIndex = "3" Then
            DropDownList2.Visible = True
            DropDownList3.Visible = True
            DropDownList4.Visible = True
            DropDownList5.Visible = False
        End If



        If numberofcitiesintendtovisit1.SelectedIndex = "4" Then
            DropDownList2.Visible = True
            DropDownList3.Visible = True
            DropDownList4.Visible = True
            DropDownList5.Visible = True
        End If
    End Sub
1
Contributor
2
Replies
3
Views
9 Years
Discussion Span
Last Post by some one
0

hi
is it possible that 38 view and no one know the problem

please I reallyyyyyyyyyyy need your help it is my graduation project

please help me
just give me some opinion or assumption
any thing will be useful


thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.