After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What co

Q

After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be?

✍: Guest

A

After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be?
* The AutoEventWireup attribute is set to False
* The AutomaticPostBack attribute is set to False
* The codebehind module is not properly compiled
* The ListBox must be defined WithEvents


AutoPostBack attribute is set to False

2014-08-11, 2932👍, 0💬