-- mejora
This commit is contained in:
@@ -696,7 +696,6 @@
|
|||||||
let mes = parseInt($('#<%=HidCurrentMonth.ClientID%>').val());
|
let mes = parseInt($('#<%=HidCurrentMonth.ClientID%>').val());
|
||||||
let anio = parseInt($('#<%=HidCurrentYear.ClientID%>').val());
|
let anio = parseInt($('#<%=HidCurrentYear.ClientID%>').val());
|
||||||
|
|
||||||
|
|
||||||
Calendario(mes,anio);
|
Calendario(mes,anio);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -31,10 +31,10 @@ Partial Class RepContratosCalendario
|
|||||||
|
|
||||||
Public Property CveContrato As Integer
|
Public Property CveContrato As Integer
|
||||||
Get
|
Get
|
||||||
Return IfNull(ViewState("CveContrato"), "").ToString.ToEntero
|
Return HdnCveContrato.Value.ToEntero
|
||||||
End Get
|
End Get
|
||||||
Set(value As Integer)
|
Set(value As Integer)
|
||||||
ViewState("CveContrato") = value
|
HdnCveContrato.Value = value.ToString
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
@@ -234,7 +234,8 @@ Partial Class RepContratosCalendario
|
|||||||
DdlChofer.SelectedValueExist(GvRow.DataKey("CveChofer"))
|
DdlChofer.SelectedValueExist(GvRow.DataKey("CveChofer"))
|
||||||
DdlChofer2.SelectedValueExist(GvRow.DataKey("CveChofer2"))
|
DdlChofer2.SelectedValueExist(GvRow.DataKey("CveChofer2"))
|
||||||
DdlEstatusContrato.SelectedValue = GvRow.DataKey("CveContratosEstatus")
|
DdlEstatusContrato.SelectedValue = GvRow.DataKey("CveContratosEstatus")
|
||||||
|
CveContrato = GvRow.DataKey("CveContrato").ToEntero
|
||||||
|
|
||||||
UpModal.Update()
|
UpModal.Update()
|
||||||
RegistraScript("$('#ModalActualizar').modal('show');")
|
RegistraScript("$('#ModalActualizar').modal('show');")
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user