Why SelectedIndexChanged fires for a dropdownlist when a button is clicked?

Posted by Tony_Henrich on Stack Overflow See other posts from Stack Overflow or by Tony_Henrich
Published on 2010-03-16T08:04:02Z Indexed on 2010/03/16 8:06 UTC
Read the original article Hit count: 189

Filed under:

I have an ASP.NET DropDownList with autopostback=true and enableviewstate = false. I have a button on the page that does nothing. If I change the selection in the ddl, it posts back , which is expected. If I click the button, the page posts back and the ddl's SelectedIndexChanged fires. Why does it get fired?

© Stack Overflow or respective owner

Related posts about ASP.NET