Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SelectedIndex changed for Dropdown List not working 1

Status
Not open for further replies.

swetab

Programmer
May 6, 2003
49
US
Hi
Have two dropdowns Region and Location and when the region is selected the corresponding Location has to be populated.

I have given the cboregion_selectedIndexchanged method.
Which is as below:
Private Sub cboRegion_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboRegion.SelectedIndexChanged
With cboLocation
.Items.Clear()
.Enabled = True
End With
populatelocation()
End Sub

This is not getting fired atall, its a web form page.
Please help me as I am very new to this.

Thanks
 
Make sure the autopostback property of the cbo is set to True.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top