I added in the method where the list comes from the database:
ddlSalas.Items.Insert(0, new ListItem("TODAS", ""));
When I choose this option "ALL" in dropdownlist
, a post on the page happens but it does not call the selectedindexchanged
event that contains the method that will load a gridview
with the information.
What can be happening? What did I do wrong?