I have created a custom web part with a drop down. How can I specify the
page to post back once the drop down selected index changes? My code
looks something like this
_myDropDown = New HtmlSelect
_myDropDown.Items.Add("0")
_myDropDown.Items.Add("1")
_myDropDown.Items.Add("2")
AddHandler _myDropDown.ServerChange, AddressOf
_myDropDown_IndexChange
Controls.Add(_myDropDown)
The post back does not happens. Please advise.