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


Please Help Members By Posting Answers For Below Questions

What is another word for redirect?

591


Can we store object in viewstate?

630


How does the iis work?

647


What permissions do asp.net applications posses by default?

725


How can we Validate a Controls in ASP.NET page using JavaScript?

721






Explain diff. Between friend and protected friend?

588


Why we use content place holder in asp.net?

614


What is the difference between session.abandon() vs clear()?

623


Explain the concept of event bubbling in ASP.NET?

681


How may clustered index we can create in table?

643


How to disable cut, copy and paste in TextBox using jQuery in asp.net?

739


What is a master page and what does it do?

615


What is the state management in asp.net?

642


Explain what are delegates?

661


Where is asp.net view state stored?

607