If(dropdownlist1.selectedIndexChanged==true)
{
//code
}
else
{
//code
}
I am getting error in If condition, so can u pls give me a
solution.
Answer Posted / narashiman
if we try to set the dropdownlist1 autopostback to true. we
will not get the error
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?
Define session in asp.net.
What are the 3 types of web?
What is an il?
How does session id work?
What are the advantages of passport authentication?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?
What is postback request?
What are the different properties of server control that exists?
Why do we need url encoding?
Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc
What is the difference between dispose() and finalize()?
Explain the difference between array and linkedlist?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
How does asp net store session ids by default?