Hello everyone,
I'm facing an unexpected problem:
I have a few DropDowns on my WebPage. I'm supposed to populate there values depending on the changes in the previous ones. For example, I have cboSchools.
On the Page_load event, I populate the cboSchool. It works. Then on cboSchool_SelectedIndexChanged I'll have to populate the DropDown cboClassroom, but first I want to see what value from the cboSchool the system reads.
I say
Private Sub cboSchool_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboSchool.SelectedIndexChanged
Response.Write (cboSchool.ItemsddlSchool.SelectedIndex).Value)
End sub
Somehow, I don't even get to this function.
Does anyone knows what I'm doing wrong.
Thanks a lot in advance.
I'm facing an unexpected problem:
I have a few DropDowns on my WebPage. I'm supposed to populate there values depending on the changes in the previous ones. For example, I have cboSchools.
On the Page_load event, I populate the cboSchool. It works. Then on cboSchool_SelectedIndexChanged I'll have to populate the DropDown cboClassroom, but first I want to see what value from the cboSchool the system reads.
I say
Private Sub cboSchool_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboSchool.SelectedIndexChanged
Response.Write (cboSchool.ItemsddlSchool.SelectedIndex).Value)
End sub
Somehow, I don't even get to this function.
Does anyone knows what I'm doing wrong.
Thanks a lot in advance.