unbound DropDownList SelectedIndexChanged not firing

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.
 
N

Nathan Sokalski

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top