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(); } }
private void OpenRecord() { dtQuarter = objKpi.SelectQuarter(0); grQuarter.DataSource = dtQuarter; grQuarter.DataBind(); }