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
Why session is necessary in web application?
What is a reflection?
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
What is runat?
Explain difference between friend and protected friend?
What is ipostback?
How do you secure your configuration files to be accessed remotely by unauthorized users?
Difference between singleton and singlecall.
Is asp.net mvc front end or backend? : Asp.Net MVC
What is localhost in asp.net?
Explain the updatepanel?
How can we pass info between 2 asp.net pages?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
How will create assesblies at run time?
Where is the session stored?