I have a DropDownList that allows users to make selections. These selections result in a table being populated.
This all works fine when users select different values. However, I woudl like to refresh the table even when the user selects the same value.
Does anyone know what event on the ASP.Net DropDownList that I can use for this?
My DropDownList looks like:
<asp:DropDownList ID="ddlClient" runat="server" AutoPostBack="True">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
</asp:DropDownList>
Thanks
Alan
You can place a refresh
Buttonnext to theDropDownListand write your logic inside itsClickevent handler too.It would be easier to the user to click the
Buttonthan selecting the same item from theDropDownList.