Änderungen werden gültig nach Vorstellungen ausgeführt. Auch bei Leerlassen. Bei IWederauswählen Bug mit verschwindenden Labels und Pickdate-container2
This commit is contained in:
@@ -332,8 +332,7 @@
|
||||
$("#container2").hide();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</script>
|
||||
<script>
|
||||
$(function () {
|
||||
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(PostBack);
|
||||
@@ -345,7 +344,7 @@
|
||||
var hidden = document.getElementById(<%=HIDf2.ClientID%>).value;
|
||||
|
||||
if (hidden == '1') {
|
||||
setTimeout(function () { $('.a').hide(); document.getElementById('<%=HIDf2.ClientID%>').value = 0 }, 10);
|
||||
setTimeout(function () { $("#container2").hide(); document.getElementById('<%=HIDf2.ClientID%>').value = 0 }, 10);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -389,8 +388,5 @@
|
||||
$("#" + last).addClass("in");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
</asp:Content>
|
||||
@@ -46,8 +46,6 @@ Partial Class CustomsAviso
|
||||
Page.MaintainScrollPositionOnPostBack = True
|
||||
normaltable.EnableViewState = True
|
||||
|
||||
|
||||
|
||||
If rbt_Alle.Checked = True Then
|
||||
lbl_von.Visible = True
|
||||
lbl_bis.Visible = True
|
||||
@@ -461,7 +459,7 @@ Partial Class CustomsAviso
|
||||
pickdate2.Text = Date.Parse(Now().Day.ToString + "." + Now().Month.ToString + "." + Now().Year.ToString).ToString
|
||||
dt = VERAG_PROG_ALLGEMEIN.cAviso.GET_KDLIST_WEB(Art, Kdnrtext, {0, 1, 2, 3, 4, 5}, datevon, datebis, Absender, Empfaenger, LKWNR, KDNAFNR)
|
||||
Catch ex As ValidationException When Date.ParseExact(pickdate1.Text, "dd.MM.yyyy", Nothing).Year < Date.ParseExact("2001", "yyyy", Nothing).Year And Date.ParseExact(pickdate2.Text, "dd.MM.yyyy", Nothing).Year > Date.ParseExact(Today, "dd.MM.yyyy", Nothing).Year
|
||||
MsgBox("Die Zeitzonen sind nicht gültig!", MsgBoxStyle.Exclamation)
|
||||
MsgBox("Time ranges are not valid!", MsgBoxStyle.Exclamation)
|
||||
End Try
|
||||
Else
|
||||
Try
|
||||
@@ -469,7 +467,7 @@ Partial Class CustomsAviso
|
||||
datebis = Date.Parse(pickdate2.Text)
|
||||
dt = VERAG_PROG_ALLGEMEIN.cAviso.GET_KDLIST_WEB(Art, Kdnrtext, {0, 1, 2, 3, 4, 5}, datevon, datebis, Absender, Empfaenger, LKWNR, KDNAFNR)
|
||||
Catch ex As ValidationException When Date.ParseExact(pickdate1.Text, "dd.MM.yyyy", Nothing).Year < Date.ParseExact("2001", "yyyy", Nothing).Year And Date.ParseExact(pickdate2.Text, "dd.MM.yyyy", Nothing).Year > Date.ParseExact(Today, "dd.MM.yyyy", Nothing).Year
|
||||
MsgBox("Die Zeitzonen sind nicht gültig!", MsgBoxStyle.Exclamation)
|
||||
MsgBox("The time ranges given are not valid!", MsgBoxStyle.Exclamation)
|
||||
End Try
|
||||
End If
|
||||
ElseIf rbt_Erf_M.Checked = True Then
|
||||
@@ -497,7 +495,7 @@ Partial Class CustomsAviso
|
||||
' MsgBox(pickdate2.Text)
|
||||
dt = VERAG_PROG_ALLGEMEIN.cAviso.GET_KDLIST_WEB(Art, Kdnrtext, {1}, datevon, datebis, Absender, Empfaenger, LKWNR, KDNAFNR)
|
||||
Catch ex As ValidationException When Date.ParseExact(pickdate1.Text, "dd.MM.yyyy", Nothing).Year < Date.ParseExact("2001", "yyyy", Nothing).Year And Date.ParseExact(pickdate2.Text, "dd.MM.yyyy", Nothing).Year > Date.ParseExact(Today, "dd.MM.yyyy", Nothing).Year
|
||||
MsgBox("Die Zeitzonen sind nicht gültig!", MsgBoxStyle.Exclamation)
|
||||
MsgBox("The time ranges given are not valid!", MsgBoxStyle.Exclamation)
|
||||
End Try
|
||||
End If
|
||||
ElseIf rbt_Ankunft_M.Checked = True Then
|
||||
|
||||
Reference in New Issue
Block a user