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

here is the asp page at the attachment

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.