protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Common.FillDropDownList(objKpi.SelectQuarter(0), ddlQuarter, "QuarterName", "QuarterId", false); Common.FillDropDownList(objKpi.SelectGroup(0), ddlGroup, "GroupName", "GroupId", false); this.PanelVisibilityMst("0", "0", "0", "0", "0"); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfIsUpdate.Value = "N"; dtScoring.Rows.Clear(); dtScoring.Dispose(); grEmpKpi.DataSource = null; grEmpKpi.DataBind(); Common.EmptyTextBoxValues(this); lblMsg.Text = ""; Common.FillDropDownList(objKpi.SelectQuarter(0), ddlQuarter, "QuarterName", "QuarterId", false); Common.FillDropDownList(objKpi.SelectGroup(0), ddlGroup, "GroupName", "GroupId", false); this.EntryMode(false); this.OpenRecord(); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { hfIsUpdate.Value = "N"; dtKPI.Rows.Clear(); dtKPI.Dispose(); grKPI.DataSource = null; grKPI.DataBind(); Common.EmptyTextBoxValues(this); lblMsg.Text = ""; Common.FillDropDownList(objKpi.SelectIndicatirType(0), ddlIndicator, "IndicatirTypeName", "IndTypeId", false); Common.FillDropDownList(objKpi.SelectGroup(0), ddlGroup, "GroupName", "GroupId", false); this.EntryMode(false); this.OpenRecord(); } }
private void OpenRecord() { dtGroup = objKpi.SelectGroup(0); grGroup.DataSource = dtGroup; grGroup.DataBind(); }