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

a) The AutoEventWireup attribute is set to False
b) The AutomaticPostBack attribute is set to False
c) The codebehind module is not properly compiled
d) The ListBox must be defined WithEvents.

Answers were Sorted based on User's Feedback



After capturing the SelectIndexChanged event for a ListBox Control, you find that the event handler..

Answer / prabhu

Set Autopostback property o true

Is This Answer Correct ?    9 Yes 0 No

After capturing the SelectIndexChanged event for a ListBox Control, you find that the event handler..

Answer / rana rashid

Set AutomaticpostBack attribute is true..

Is This Answer Correct ?    6 Yes 5 No

Post New Answer

More ASP.NET Interview Questions

I have a datagrid of 10 rows and I am updating the fifth row using template column edit. How wil u know that the row is updated, so that it can be send to database for updating the respective table?

3 Answers  


What is virtual directory in asp.net?

0 Answers  


Can a master page inherit another master page?

13 Answers   Emphasis, IBM, NIIT, Sebiz Square,


How does Garbage collector(GC) works in .net

14 Answers   Accenture, HCL, Kekran Mekran, People Tech, Wipro,


Explain the difference between dataset and datareader.

0 Answers  






What is sdlc process?

0 Answers  


Describe the diffeerence between inline and code behind?

0 Answers  


which is the new version of IIS SERVER

1 Answers  


How ViewstateMac works?

0 Answers   CGI,


What is Hybrid dictionary

1 Answers  


Features and disadvantages of dataset ?

4 Answers   Interlink, Microsoft,


What is the difference between debug and release?

0 Answers  


Categories