Änderung fix
This commit is contained in:
@@ -124,25 +124,14 @@ Partial Class CustomsAviso
|
|||||||
valDateRange_2.Enabled = True
|
valDateRange_2.Enabled = True
|
||||||
pickdate1.Visible = True
|
pickdate1.Visible = True
|
||||||
pickdate2.Visible = True
|
pickdate2.Visible = True
|
||||||
If valreqpickdate1.IsValid = True And valreqpickdate2.IsValid = True Then
|
If valreqpickdate1.IsValid = True And valreqpickdate2.IsValid = True Then
|
||||||
datevon = Date.Parse(pickdate1.Text)
|
datevon = Date.Parse(pickdate1.Text)
|
||||||
datebis = Date.Parse(pickdate2.Text)
|
datebis = Date.Parse(pickdate2.Text)
|
||||||
ElseIf pickdate1.Text = String.Empty And pickdate2.Text = String.Empty Then
|
ElseIf pickdate1.Text = String.Empty And pickdate2.Text = String.Empty Then
|
||||||
datevon = Nothing
|
|
||||||
datebis = Nothing
|
|
||||||
End If
|
|
||||||
Else
|
|
||||||
lbl_von.Visible = False
|
|
||||||
lbl_bis.Visible = False
|
|
||||||
valreqpickdate1.Enabled = False
|
|
||||||
valreqpickdate2.Enabled = False
|
|
||||||
valDateRange_1.Enabled = False
|
|
||||||
valDateRange_2.Enabled = False
|
|
||||||
pickdate1.Visible = False
|
|
||||||
pickdate2.Visible = False
|
|
||||||
datevon = Nothing
|
datevon = Nothing
|
||||||
datebis = Nothing
|
datebis = Nothing
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
Else
|
Else
|
||||||
Page.MaintainScrollPositionOnPostBack = False
|
Page.MaintainScrollPositionOnPostBack = False
|
||||||
rbt_Alle.Checked = True
|
rbt_Alle.Checked = True
|
||||||
|
|||||||
Reference in New Issue
Block a user