public void Bind_DDL_SuperZone() { DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(Convert.ToInt32(DDLSDZone.SelectedValue.ToString()), "SuperZoneR"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-Select SuperZone-", "0")); DDLZone.Items.Insert(0, new ListItem("-Select Zone-", "0")); }
public void Bind_DDL_SuperZone() { DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SuperZone"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-Select SuperZone-", "0")); DDLZone.Items.Insert(0, new ListItem("-Select Zone-", "0")); }
protected void RdbtnSelect1_SelectedIndexChanged(object sender, EventArgs e) { if (RdbtnSelect1.SelectedValue == "Summary") { Pnl2.Visible = true; Pnl1.Visible = false; Response.Redirect(Request.RawUrl); } if (RdbtnSelect1.SelectedValue == "Details") { Pnl2.Visible = false; Pnl1.Visible = true; DDLSuperZone.Focus(); DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SuperZone"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-Select Super Zone-", "0")); getDDLdata(); txtfromDate.Text = Session["FromDate"].ToString(); txtToDate.Text = Session["ToDate"].ToString(); DDLCC.DataSource = CustCategory.GetCustomerCategoryMaster("adminCCM"); DDLCC.DataBind(); DDLCC.Items.Insert(0, new ListItem("--Select Category--", "0")); DDLCC.Enabled = true; } }
public void Bind_DDL_SuperZone() { DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SuperZone"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-Select SuperZone-", "0")); DDLZone.Items.Insert(0, new ListItem("-<Select SuperZone-", "0")); ddlCustmore.Items.Insert(0, new ListItem("-<Select SuperZone-", "0")); customerDisabled(); }
public void Bind_DDL_SuperZone() { //Response.Write(Convert.ToInt32(ddlSDZone.SelectedValue.ToString())); DDLSuperZone.Items.Clear(); DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(Convert.ToInt32(ddlSDZone.SelectedValue.ToString()), "SuperZone1"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-Select Super Zone-", "0")); }
private void GetSuperDuperZoneData() { ddlSDZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SDZone"); ddlSDZone.DataBind(); ddlSDZone.Items.Insert(0, new ListItem("All Super Duper Zone-", "0")); ddlSDZone.Focus(); DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SuperZone"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("All Super Zone", "0")); }
public void Bind_DDL_SuperZone() { DDLSuperZone.Items.Clear(); if (ddlSDZone.SelectedIndex != 0) { DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(Convert.ToInt32(ddlSDZone.SelectedValue.ToString()), "SuperZone1"); DDLSuperZone.DataBind(); DDLSuperZone.Focus(); } DDLSuperZone.Items.Insert(0, new ListItem("-All Super Zone-", "0")); }
public void Bind_DDL_SuperZone() { //DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SuperZone"); //DDLSuperZone.DataBind(); //DDLSuperZone.Items.Insert(0, new ListItem("-Select Super Zone-", "0")); //DDLZone.Items.Insert(0, new ListItem("-Select Zone-", "0")); DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(Convert.ToInt32(ddlSDZone.SelectedValue.ToString()), "SuperZone1"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-- Select SuperZone --", "0")); DDLZone.Items.Insert(0, new ListItem("--All--", "0")); //DDLSuperZone.Focus(); }
protected void Page_Load(object sender, EventArgs e) { if (Session["FY"] != null) { // strChetanaCompanyName = Session["ChetanaCompanyName"].ToString(); strFY = Session["FY"].ToString(); // HidFY.Value = Session["FY"].ToString(); //DateTime now = DateTime.Now; //now.ToString("dd/MM/yyyy"); //txtFromDate.Text = new DateTime(now.Year, 1, now.Month).ToShortDateString(); //txttoDate.Text = new DateTime(now.AddMonths(1).Year, now.AddMonths(1).Month, 1).ToShortDateString(); //todate = txttoDate.Text.Split('/')[1] + "/" + txttoDate.Text.Split('/')[0] + "/" + txttoDate.Text.Split('/')[2]; //txttoDate.Text = todate; btnexport.Visible = false; } else { Session.Clear(); } if (!Page.IsPostBack) { //SetView(); // BindBankRDetails(); // DDLCCDD.Items.Insert(0, new ListItem("-Select-", "0")); //txtFromDate.Text = "01/04/201" + Convert.ToInt32(Session["FY"]).ToString(); //txttoDate.Text = -"31/03/201" + Convert.ToInt32(Convert.ToInt32(Session["FY"]) + 1); DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SuperZone"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("All Super Zone-", "0")); //txtbankcoder.Focus(); Session["Data"] = null; } else { if (rdWeek.Checked) { if (Session["Data"] != null) { FillReport((DataView)Session["Data"]); } } else { collectionReportView.Visible = false; } } }
protected void ddlSDZone_SelectedIndexChanged(object sender, EventArgs e) { if (ddlSDZone.SelectedIndex == 0) { DDLSuperZone.Items.Clear(); DDLSuperZone.Items.Insert(0, new ListItem("-Select Super Zone-", "0")); } else { DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(Convert.ToInt32(ddlSDZone.SelectedValue.ToString()), "SuperZone1"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-- Select SuperZone --", "0")); DDLSuperZone.Focus(); } }
protected void Page_Load(object sender, EventArgs e) { //if (ConfigurationManager.AppSettings["access"].ToString() != ConfigurationManager.AppSettings["accessok"].ToString()) //{ // string page = Request.Url.Segments[Request.Url.Segments.Length - 1].ToString(); // if (Session["Role"] != null) // { // if (!Other.Get_UserAccess(page, Session["Role"].ToString())) // { // Response.Redirect("dashboard.aspx"); // } // } //} if (!Page.IsPostBack) { DDLSuperZone.DataSource = Masters.Get_Masters_Code_ID_Name("superzone"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-Select Super Zone-", "none")); } }
protected void Page_Load(object sender, EventArgs e) { if (Session["ChetanaCompanyName"] != null) { if (Session["FY"] != null) { strChetanaCompanyName = Session["ChetanaCompanyName"].ToString(); strFY = Session["FY"].ToString(); HidFY.Value = Session["FY"].ToString(); } else { Session.Clear(); } //Response.Write(strFY); } if (!Page.IsPostBack) { //SetView(); // BindBankRDetails(); // DDLCCDD.Items.Insert(0, new ListItem("-Select-", "0")); ddlSDZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SDZone"); ddlSDZone.DataBind(); ddlSDZone.Items.Insert(0, new ListItem("-Select Super Duper Zone-", "0")); ddlSDZone.Focus(); DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SuperZone"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-Select Super Zone-", "0")); //txtbankcoder.Focus(); Session["Data"] = null; } else { if (Session["Data"] != null) { FillReport((DataView)Session["Data"]); } } }
protected void ddlSDZone_SelectedIndexChanged(object sender, EventArgs e) { if (ddlSDZone.SelectedIndex == 0) { // MessageBox("Select SuperZone"); lblsdzselect.Visible = true; lblsdzselect.Text = "Selected : " + ddlSDZone.SelectedItem.Text.ToString(); DDLSuperZone.Items.Clear(); DDLSuperZone.Items.Insert(0, new ListItem("-Select Super Zone-", "0")); // DDLZone.SelectedValue = null; // Bind_DDL_ZoneCust(); } else { DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(Convert.ToInt32(ddlSDZone.SelectedValue.ToString()), "SuperZone1"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-- Select SuperZone --", "0")); DDLSuperZone.Focus(); //lblsdzselect.Visible = true; lblsdzselect.Text = "Selected : " + ddlSDZone.SelectedItem.Text.ToString(); } }
protected void Page_Load(object sender, EventArgs e) { if (Session["ChetanaCompanyName"] != null) { if (Session["FY"] != null) { strChetanaCompanyName = Session["ChetanaCompanyName"].ToString(); strFY = Session["FY"].ToString(); } else { Session.Clear(); } //Response.Write(strFY); if (!Page.IsPostBack) { DDLSuperZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "SuperZone"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-Select SuperZone-", "0")); txtfromDate.Focus(); } } }
public void Bind_DDL_SuperZone() { DDLSuperZone.DataSource = Masters.Get_Masters_Code_ID_Name("superzone"); DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-Select Super Zone-", "none")); }
public void GetSuperZone() { DDLSuperZone.DataSource = BindCnFGrid("ddlCnF", 0).Tables[0]; DDLSuperZone.DataBind(); DDLSuperZone.Items.Insert(0, new ListItem("-- Select CnF --", "0")); }