Interview Questions

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

ASP.NET and .NET WEB Questions and Answers


(Continued from previous question...)

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

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

(Continued on next question...)

Other Interview Questions