protected void ddlState_SelectedIndexChanged(object sender, EventArgs e) { if (ddlState.SelectedIndex > 0) { CommonFillMethods.FillDropDownListCityByStateID(ddlCity, Convert.ToInt32(ddlState.SelectedValue.Trim())); ddlCity.Focus(); } else { CommonFillMethods.FillDropDownListEmpty(ddlCity); } }
private void FillDropDownList() { CommonFillMethods.FillDropDownListState(ddlState); CommonFillMethods.FillDropDownListEmpty(ddlCity); }