How to get SelectedIndexChanged event to fire

UncleRonin

Well-known member
Joined
Feb 28, 2006
Messages
230
Location
South Africa
Programming Experience
5-10
I'm having lank trouble trying to get an asp:DDL to fire its SelectedIndexChanged event. I have a custom handler which handles the event but no matter what, the handler never gets called. The control is databound so would that have any influence on the available events? I have AutoEvenWireUp=false in the Page header.

Am I being really daft or is there actually something to this?
 
ddl.Autopostback is false by default because postbacks in web environment is expensive, one normally arrange page for user to make several selections and enter all data before initiating postback, like the common "submit" button. Set Autopostback True if you want the page to reload every time list selection is changed.
 
Back
Top