Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unbound DropDownList SelectedIndexChanged not firing

4 views
Skip to first unread message

E. Kwong

unread,
Oct 10, 2008, 2:00:28 PM10/10/08
to
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.


Nathan Sokalski

unread,
Oct 10, 2008, 2:44:28 PM10/10/08
to
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.
--
Nathan Sokalski
njsok...@hotmail.com
http://www.nathansokalski.com/

"E. Kwong" <ekwong999AThotmail.com> wrote in message
news:%233FGVIw...@TK2MSFTNGP04.phx.gbl...

bruce barker

unread,
Oct 10, 2008, 4:06:00 PM10/10/08
to
for iis 7.0 its IIS native code api:

http://msdn.microsoft.com/en-us/library/aa347613.aspx

for previous versions you use the iis com api:

http://msdn.microsoft.com/en-us/library/ms524505.aspx


-- bruce (sqlwork.com)

bruce barker

unread,
Oct 10, 2008, 4:16:00 PM10/10/08
to
sorry - picked wrong thread

-- bruce (sqlwork.com)

0 new messages