protected void DDLZone_SelectedIndexChanged(object sender, EventArgs e) { if (DDLZone.SelectedIndex == 0) { DDLZone.Focus(); Bind_DDL_Zone(); // Bind_DDL_SuperZone(); } else { Bind_DDL_AreaZone(); DDLAreaZone.Focus(); } }
public void Bind_DDL_AreaZone() { DDLAreaZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(Convert.ToInt32(DDLZone.SelectedValue.ToString()), "AreaZone"); DDLAreaZone.DataBind(); DDLAreaZone.Items.Insert(0, new ListItem("-Select Area Zone-", "none")); }