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