From 3e19692ca403cc6163181d3656eaea4eac9de1e2 Mon Sep 17 00:00:00 2001
From: Vanesa Rimada <80859025+vrimada@users.noreply.github.com>
Date: Thu, 25 Jun 2026 10:59:58 -0300
Subject: [PATCH 01/29] =?UTF-8?q?Req.=205.=20Edici=C3=B3n=20de=20determina?=
=?UTF-8?q?ci=C3=B3n=20-=20Evitar=20=20salto=20de=20pesta=C3=B1a.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
WebLab/Items/ItemEdit2.aspx | 12 ++++++------
WebLab/Items/ItemEdit2.aspx.cs | 32 +++++++++++++++++---------------
2 files changed, 23 insertions(+), 21 deletions(-)
diff --git a/WebLab/Items/ItemEdit2.aspx b/WebLab/Items/ItemEdit2.aspx
index 02a55287..934dcbe3 100644
--- a/WebLab/Items/ItemEdit2.aspx
+++ b/WebLab/Items/ItemEdit2.aspx
@@ -22,10 +22,10 @@
+
@@ -683,7 +683,7 @@
Font-Size="10pt" ForeColor="#333333" GridLines="Horizontal"
TabIndex="9" Width="100%"
- UpdateAfterCallBack="True" OnRowDataBound="gvMuestraItem_RowDataBound" OnRowCommand="gvMuestraItem_RowCommand">
+ UpdateAfterCallBack="True" OnRowDataBound="gvMuestraItem_RowDataBound" OnRowCommand="gvMuestraItem_RowCommand">
diff --git a/WebLab/Items/ItemEdit2.aspx.cs b/WebLab/Items/ItemEdit2.aspx.cs
index 19bfb1d4..e04f9a04 100644
--- a/WebLab/Items/ItemEdit2.aspx.cs
+++ b/WebLab/Items/ItemEdit2.aspx.cs
@@ -31,17 +31,19 @@ public partial class ItemEdit2 : System.Web.UI.Page
Configuracion oC = new Configuracion();
Usuario oUser = new Usuario();
// Item oItem = new Item();
- private enum TabIndex
- {
- DEFAULT = 0,
- ONE = 1,
- TWO = 2,
- THREE = 3,
- CUARTO = 4,
- QUINTO = 5,
- SECTO = 6,
- SEPTIMO = 7, OCTAVO = 8
- // you can as many as you want here
+ private enum TabIndex //Los nombres (ONE, TWO, OCTAVO) no coinciden con la posición real de las tabs porque el HTML las tiene en desorden
+ {
+ DatosGenerales = 0, // tab1
+ Presentaciones = 1, // tab7
+ ValoresReferencia = 2, // tab2
+ Diagrama = 3, // tab3
+ ResultadosPredefinidos = 4, //tab4
+ Recomendaciones = 5, // tab5
+ Muestras = 6, //tab8
+ MasOpciones = 7, //tab6
+ Turnos = 8 ,//tab9
+ AutoAnalizadores = 9, // tab10
+ ObservacionesResultados = 10 // tab11
}
private void SetSelectedTab(TabIndex tabIndex)
{
@@ -1090,7 +1092,7 @@ protected void gvListaVR_RowCommand1(object sender, GridViewCommandEventArgs e)
{
EliminarItemVR(int.Parse(e.CommandArgument.ToString()));
CargarGrillaVR();
- //SetSelectedTab(TabIndex.TWO);
+ SetSelectedTab(TabIndex.ValoresReferencia);
}
}
@@ -2094,7 +2096,7 @@ protected void btnGuardarVR_Click(object sender, EventArgs e)
CargarGrillaVR_NoPac();
}
- SetSelectedTab(TabIndex.TWO);
+ SetSelectedTab(TabIndex.ValoresReferencia );
}
}
@@ -3008,7 +3010,7 @@ protected void gvListaVRNP_RowCommand(object sender, GridViewCommandEventArgs e)
{
EliminarItemVR_NP(int.Parse(e.CommandArgument.ToString()));
CargarGrillaVR_NoPac();
- SetSelectedTab(TabIndex.TWO);
+ SetSelectedTab(TabIndex.ValoresReferencia );
}
}
@@ -3351,7 +3353,7 @@ protected void gvMuestraItem_RowCommand(object sender, GridViewCommandEventArgs
{
EliminarItemMuestra(int.Parse(e.CommandArgument.ToString()));
CargarGrillaMuestras();
- SetSelectedTab(TabIndex.OCTAVO);
+ SetSelectedTab(TabIndex.Muestras );
}
}
From 8f85b22367ab7f53096ed89c3e96cc987850106e Mon Sep 17 00:00:00 2001
From: Vanesa Rimada <80859025+vrimada@users.noreply.github.com>
Date: Thu, 25 Jun 2026 15:02:20 -0300
Subject: [PATCH 02/29] =?UTF-8?q?Req.=206:=20Hoja=20de=20trabajo.=20Se=20s?=
=?UTF-8?q?acr=20opci=C3=B3n=20de=20seleccionar=20y=20de=20marcar=20en=20l?=
=?UTF-8?q?a=20grilla=20y=20la=20ultima=20columna,=20quedaron=20obsoletas?=
=?UTF-8?q?=20de=20cuando=20en=20el=20sil1=20se=20pod=C3=ADa=20seleccionar?=
=?UTF-8?q?=20para=20imprimir?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
WebLab/Informes/Informe.aspx | 18 +--
WebLab/Informes/Informe.aspx.cs | 96 ++++++++--------
WebLab/Informes/Informe.aspx.designer.cs | 133 +++++++++--------------
3 files changed, 112 insertions(+), 135 deletions(-)
diff --git a/WebLab/Informes/Informe.aspx b/WebLab/Informes/Informe.aspx
index a6c55f61..92a7c434 100644
--- a/WebLab/Informes/Informe.aspx
+++ b/WebLab/Informes/Informe.aspx
@@ -402,8 +402,8 @@