protected void txtHalamanLookup_TextChanged(object sender, EventArgs e) { GridViewRow rowPager = GvLookupPegawai.BottomPagerRow; TextBox txtHalaman = (TextBox)(rowPager.Cells[0].FindControl("txtHalaman")); try { if (int.Parse(txtHalaman.Text) <= GvLookupPegawai.PageCount + 1 && int.Parse(txtHalaman.Text) > 0) { GvLookupPegawai.PageIndex = (int.Parse(txtHalaman.Text)) - 1; GvLookupPegawai.DataBind(); } } catch (Exception) { txtHalaman.Text = (GvLookupPegawai.PageIndex + 1).ToString(); } }
protected void btnLookupCari_Click(object sender, EventArgs e) { GvLookupPegawai.DataBind(); }
protected void lnkFilterItem2_Click(object sender, EventArgs e) { Session["Triger"] = "txtNIP"; GvLookupPegawai.DataBind(); LookupMPE.Show(); }
protected void lnkCol2FormView_Click(object sender, EventArgs e) { Session["Triger"] = "txtCol2FormView"; GvLookupPegawai.DataBind(); LookupMPE.Show(); }
protected void lnkCol2Edit_Click(object sender, EventArgs e) { Session["Triger"] = "nipLama"; GvLookupPegawai.DataBind(); LookupMPE.Show(); }