Number of questions 1,751
Number of tests completed 253,259
Number of questions answered 3,776,999
Number of registered users 19,213
Sign In | Register
Skip Navigation Links
Question: In my Web Form i.e form I have a control of DropDownList having 2 values of Mumbai and Delhi. On submit of a button I redirect my page to same URL.Instead of 2 values in DropDownList,I am able to see 4 values i.e 2 of Mumbai and 2 of Delhi each. Why?
Answer1: Some Web Based Error
Answer2: AutoPostBack Property is set to false
Answer3: AutoEventWireUp is set to false
Answer4: IsPostBack Validation not done.
Answer: IsPostBack Validation not done.

Explaination: private void Page_Load() { if (!IsPostBack) { // Validate initially to force asterisks // to appear before the first roundtrip. Validate(); } }
Link: External Explaination

Correctly answered: 9793
Incorrectly answered: 6460
Terms of Use Ver. 2.0.6783.38332