//RowCommand da Grid Emp protected void grvEmp_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "Visualizar") { Mod_modelos mod = Mod_modelosDB.Select(Convert.ToInt32(e.CommandArgument)); lblDescricao.Text = Function.QuebrarLinha(mod.DescricaoModelo, 70); ModalPopupExtenderDesc.Show(); ModalEdFin.Show(); } ModalEmp.Show(); }
protected void btnBuscarEmp_Click(object sender, EventArgs e) { buscarModelo(txtBuscaEmp, grvEmp, lblTotalEmp, 3); ModalEmp.Show(); }
//emp pagia protected void grvEmp_PageIndexChanging(object sender, GridViewPageEventArgs e) { grvEdFin.PageIndex = e.NewPageIndex; CarregaGridEmp(); ModalEmp.Show(); }