unbound DropDownList SelectedIndexChanged not firing

  • Thread starter Thread starter E. Kwong
  • Start date Start date
E

E. Kwong

I have a DropDownList which is originally bound to a SqlDataSource. In
Design view, the control is shown as "Databound".

Later I changed my mind and changed the dropdown binded to a datatable
programmatically. In Design view, the control is shown as "Unbound". The
poblem is: after the change, the SelectedIndexChanged event no longer fires.

Any clue to why this happening?

I'm using vb.net, VS2005. Thanks.
 
It may help if you posted your code. Probably the most important things for
us to see are:

1. The section of your *.aspx file containing the DropDownList
2. The section of your *.aspx.vb file where you do the databinding
3. The section of your *.aspx.vb file containing the SelectedIndexChanged
eventhandler

Seeing this information will probably help both me and others help you solve
your problem.
 
Back
Top