SelectedIndexChanged NOT Firing

P

Paul Matthews

Hi,

SelectedIndexChanged NOT Firing in my DropDown ListBox
AutoPostBack = true
EnableViewState = True

Autpostback works, but the SelectedIndexChanged Event does not fire !!!

regards
Paul
 
B

Brock Allen

This simply sounds like the event handler isn't properly wired up. If you're
using VS.NET then check that the InitalizeComponent method in the codebehind
is assigning a delegate to the SelectedIndexChanged event of your drop down
list. Antother option is to use the OnSelectedIndexChanged="YourEventHandlerName"
syntax right in the tag for the <asp:DropDownList>.
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top