I want to execute the event but it does not work. I've tried to fix the
problem by adding AutoPostBack = "true"
, but it did not work. I've also tried to
activate the same event on another DropDownList
without success.
<div class="col-sm-3" style="float: left">
<div class="input-group input-group-md" style="padding-top: 6px; width: 308px;">
<asp:DropDownList ID="ddlCountry" runat="server" Width="250px" CssClass="form-control" OnSelectedIndexChanged="ddlCountry_SelectedIndexChanged" AutoPostBack="true">
</asp:DropDownList>
</div>
</div>
protected void ddlCountry_SelectedIndexChanged(object sender,EventArgs e)
{
fillCity(Convert.ToInt32(ddlCountry.SelectedValue));
}