Updatepanel wurde in den Conditional Mode gesetzt und das Design wurde auch eigentlich aktualisiert, sodass die leeren, bzw nicht gewählten Felder rot angezeigt werden?? Warum passiert das nicht?? .
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
||||||
<asp:ScriptManager ID="script1" runat="server"></asp:ScriptManager>
|
<asp:ScriptManager ID="script1" runat="server"></asp:ScriptManager>
|
||||||
|
|
||||||
<asp:UpdatePanel ID="panelupdate1" runat="server"><ContentTemplate>
|
<asp:UpdatePanel ID="panelupdate1" runat="server" UpdateMode="Conditional"><ContentTemplate>
|
||||||
|
|
||||||
<!-- Webiste-Content-->
|
<!-- Webiste-Content-->
|
||||||
<div id="containerseiterand" style="margin-left:auto;margin-right:auto">
|
<div id="containerseiterand" style="margin-left:auto;margin-right:auto">
|
||||||
@@ -73,7 +73,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style="margin-left:6px">
|
<div style="margin-left:6px">
|
||||||
<div class="col-12" style="text-align:end">
|
<div class="col-12" style="text-align:end">
|
||||||
|
|
||||||
<asp:LinkButton ID="btn_resetForm" runat="server" onclick="btn_resetForm_Click" style="margin-right:2px">Filter zurücksetzen</asp:LinkButton>
|
<asp:LinkButton ID="btn_resetForm" runat="server" onclick="btn_resetForm_Click" style="margin-right:2px">Filter zurücksetzen</asp:LinkButton>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -60,13 +60,14 @@ Partial Class Kundenbereich_Default
|
|||||||
|
|
||||||
'Dim tr
|
'Dim tr
|
||||||
If rbt_Alle.Selected = True Then
|
If rbt_Alle.Selected = True Then
|
||||||
If pickdate1.Text = "TT.MM.JJJJ" And pickdate2.Text = "TT.MM.JJJJ" Then
|
If pickdate1.Text = Nothing AndAlso pickdate2.Text = Nothing Then
|
||||||
MsgBox("Bitte ein Datum auswählen!", MsgBoxStyle.Information, "Information!")
|
MsgBox("Bitte ein Datum auswählen!", MsgBoxStyle.Information, "Information!")
|
||||||
pickdate1.Text = Date.ParseExact("01" + "-" + Date.Now.Month.ToString + "-" + Date.Now.Year.ToString, "dd-MM-yyyy", Nothing).ToString
|
|
||||||
pickdate2.Text = Date.ParseExact(Date.Now.Day.ToString + "-" + Date.Now.Month.ToString + "-" + Date.Now.Year.ToString, "dd-MM-yyyy", Nothing).ToString
|
|
||||||
End If
|
|
||||||
|
|
||||||
|
|
||||||
|
pickdate1.BackColor = Drawing.Color.Aqua
|
||||||
|
pickdate2.BackColor = Drawing.Color.Aqua
|
||||||
|
lbl_von.BackColor = Drawing.Color.Red
|
||||||
|
lbl_bis.BackColor = Drawing.Color.Red
|
||||||
|
Else
|
||||||
If Date.Parse(pickdate2.Text) > Date.Parse(pickdate1.Text) Then
|
If Date.Parse(pickdate2.Text) > Date.Parse(pickdate1.Text) Then
|
||||||
Try
|
Try
|
||||||
datevon = Date.Parse(pickdate1.Text)
|
datevon = Date.Parse(pickdate1.Text)
|
||||||
@@ -75,6 +76,8 @@ Partial Class Kundenbereich_Default
|
|||||||
MsgBox(ex.StackTrace, MsgBoxStyle.Exclamation)
|
MsgBox(ex.StackTrace, MsgBoxStyle.Exclamation)
|
||||||
End Try
|
End Try
|
||||||
End If
|
End If
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
|
||||||
dt = VERAG_PROG_ALLGEMEIN.cAviso.GET_KDLIST_WEB("", Kdnrtext, {0, 1, 2, 3, 4, 5}, datevon, datebis, Absender, Empfaenger, LKWNR, KDNAFNR)
|
dt = VERAG_PROG_ALLGEMEIN.cAviso.GET_KDLIST_WEB("", Kdnrtext, {0, 1, 2, 3, 4, 5}, datevon, datebis, Absender, Empfaenger, LKWNR, KDNAFNR)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user