Hey all, I've got a webform that displays additional information based on the item selected in a drop down menu. Right now it's set up so the user clicks a "continue" button after making their selection. However I'd like it to automatically extend to the additional info right after they make their choice on the drop down menu.
I tried adding " OnSelectedIndexChanged="btnNext_Click " but that didn't seem to do it.
Thanks in advnce for any suggestions
Here's the code for btnNext
I tried adding " OnSelectedIndexChanged="btnNext_Click " but that didn't seem to do it.
Thanks in advnce for any suggestions
Here's the code for btnNext
Code:
Sub btnNext_Click( s As Object, e As EventArgs )
pnlForm2.Visible = True
if children.selecteditem.text = "1 Child - $135.00" then
pnlChild2.Visible = false
pnlChild3.Visible = false
end if
if children.selecteditem.text = "2 Children - $209.00" then
pnlChild3.Visible = false
end if
if school.SelectedItem.Text = "Park View Elementary" then
chkChild1Session2.visible = false
chkChild2Session2.visible = false
chkChild3Session2.visible = false
end if
End Sub