I have two linked dropdwonlist to filter a Gridview.
Each ddl begins with "All" when none is selected to display all the rows in the Gridview.
When I click on the first ddl, ths second ddl is populated accordinf to the first ddl value and the gridview two.
But when I click again on the dirst ddl, the second ddl is populated adding the new items to first ones instead of clear it first.
I tried solving it by settin AppendDataBoundItems to false, but then I miss the "All" default item and always is selected the first item filtering the gridview to that.
This is the code for the two ddl:
<asp:DropDownList ID="ddlEntrenamiento" DataSourceID="dsPopulateEntrenamiento"
AutoPostBack="true" DataValueField="descri" runat="server" Width="100px" Font-Size="11px"
AppendDataBoundItems="true">
<asp:ListItem ...
Go to the complete details ...