Agregar
@@ -1510,7 +1508,7 @@
CssClass="lnkMovotPermanente" runat="server" Text='<%# Eval("FechaInicioAplicacion", "{0:dd/MM/yyyy}")%>'>
-
+
diff --git a/Nomina/Nomina.aspx.cs b/Nomina/Nomina.aspx.cs
index 07a5da3e7..91625264d 100644
--- a/Nomina/Nomina.aspx.cs
+++ b/Nomina/Nomina.aspx.cs
@@ -7830,15 +7830,14 @@ public partial class Nomina_Nomina2 : ClsPaginas
DdlConcepto.DataBind();
//DdlConcepto.Items.Insert(0, new ListItem("Seleccione", "-1"));
}
-
- protected void LnkFiltro_Click(object sender, EventArgs e)
+ private void CargaMovtoPermanente()
{
int estatus = ddlmvtoperfiltroestatus.SelectedValue.ToEntero();
using (ClsNominas ObjMovt = new ClsNominas())
{
ObjMovt.GetMovtoPermanente(UsuarioActual.CveEmpresa, SRCvePersonal);
DataTable dt = ObjMovt.DtResultados;
- if(estatus >= 0)
+ if (estatus >= 0)
{
dt = dt.FiltraParametros(string.Format("Estatus ={0}", estatus));
}
@@ -7847,20 +7846,6 @@ public partial class Nomina_Nomina2 : ClsPaginas
}
GVMovtoPermanente.DataBind();
UpMovtosPermanentes.Update();
-
-
- }
- private void CargaMovtoPermanente()
- {
- ddlmvtoperfiltroestatus.SelectedValue = "-1";
- using (ClsNominas ObjMovt = new ClsNominas())
- {
- ObjMovt.GetMovtoPermanente(UsuarioActual.CveEmpresa, SRCvePersonal);
- GVMovtoPermanente.DataSource = ObjMovt.DtResultados;
-
- }
- GVMovtoPermanente.DataBind();
- UpMovtosPermanentes.Update();
}
protected void DdlTipo_SelectedIndexChanged(object sender, EventArgs e)
{
@@ -12483,4 +12468,9 @@ public partial class Nomina_Nomina2 : ClsPaginas
}
+
+ protected void ddlmvtoperfiltroestatus_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ CargaMovtoPermanente();
+ }
}
\ No newline at end of file