Example #1
0
 public void Bind_DDL_Zone()
 {
     DDlZone.Items.Clear();
     DDlZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(Convert.ToInt32(DDLSuperZone.SelectedValue.ToString()), "Zone");
     DDlZone.DataBind();
     DDlZone.Items.Insert(0, new ListItem("-Select Zone-", "0"));
 }
Example #2
0
 public void getDDLdata()
 {
     DDlZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(Convert.ToInt32(DDLSuperZone.SelectedValue.ToString()), "Zone");
     DDlZone.DataBind();
     DDlZone.Items.Insert(0, new ListItem("--Select Zone--", "0"));
     DDlZone.Enabled = true;
     // DDlZone.Focus();
 }
Example #3
0
 protected void DDLSuperZone_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (DDlZone.SelectedIndex == 0)
     {
         Bind_DDL_Zone();
         DDlZone.Focus();
     }
     else
     {
     }
 }
Example #4
0
    protected void DDLSuperZone_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (DDlZone.SelectedIndex == 0)
        {
            // MessageBox("Select SuperZone");
            Bind_DDL_Zone();
            DDlZone.Focus();

            //  DDLZone.SelectedValue = null;
            // Bind_DDL_ZoneCust();
        }
        else
        {
        }
    }