Änderungen
This commit is contained in:
@@ -317,6 +317,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb + ": Error Sender Validation"
|
||||
End Try
|
||||
Else
|
||||
txt_Absender.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_Absender.Enabled = False
|
||||
End If
|
||||
If txt_Empfaenger.Text IsNot "" Then
|
||||
txt_Empfaenger.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
@@ -335,6 +338,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb + "Error Reciever Validation"
|
||||
End Try
|
||||
Else
|
||||
txt_Empfaenger.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_Empfaenger.Enabled = False
|
||||
End If
|
||||
If txt_KdNrAuftrag.Text IsNot "" Then
|
||||
txt_KdNrAuftrag.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
@@ -353,6 +359,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb + "Error Customer Order number Validation"
|
||||
End Try
|
||||
Else
|
||||
txt_KdNrAuftrag.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_KdNrAuftrag.Enabled = False
|
||||
End If
|
||||
If txt_LKW.Text IsNot "" Then
|
||||
txt_LKW.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
@@ -371,6 +380,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb() + "Error LKW Number plate Validation"
|
||||
End Try
|
||||
Else
|
||||
txt_LKW.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_LKW.Enabled = False
|
||||
End If
|
||||
If txt_ReNr.Text IsNot "" Then
|
||||
txt_ReNr.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
@@ -390,6 +402,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb + "Error invoice number validation"
|
||||
End Try
|
||||
Else
|
||||
txt_ReNr.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_ReNr.Enabled = False
|
||||
End If
|
||||
If txt_Absender_M.Text IsNot "" Then
|
||||
txt_Absender_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
@@ -408,6 +423,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb + ": Error Sender Validation"
|
||||
End Try
|
||||
Else
|
||||
txt_Absender_M.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_Absender_M.Enabled = False
|
||||
End If
|
||||
If txt_Empfaenger_M.Text IsNot "" Then
|
||||
txt_Empfaenger_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
@@ -426,6 +444,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb + "Error Reciever Validation"
|
||||
End Try
|
||||
Else
|
||||
txt_Empfaenger_M.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_Empaenger_M.Enabled = False
|
||||
End If
|
||||
If txt_KdNrAuftrag_M.Text IsNot "" Then
|
||||
txt_KdNrAuftrag_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
@@ -444,6 +465,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb + "Error Customer Order number Validation"
|
||||
End Try
|
||||
Else
|
||||
regex_txt_KdNrAuftrag_M.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_KdNrAuftrag_M.Enabled = False
|
||||
End If
|
||||
If txt_LKW_M.Text IsNot "" Then
|
||||
txt_LKW_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
@@ -462,6 +486,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb() + "Error LKW Number plate Validation"
|
||||
End Try
|
||||
Else
|
||||
txt_LKW_M.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_LKW_M.Enabled = False
|
||||
End If
|
||||
If txt_ReNr_M.Text IsNot "" Then
|
||||
txt_ReNr_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
@@ -481,6 +508,9 @@ Partial Class Customers_Default3
|
||||
lbl_status.ForeColor = Drawing.Color.Red
|
||||
lbl_status.Text = VERAG_VARIABLES.geterrornumb + "Error invoice number validation"
|
||||
End Try
|
||||
Else
|
||||
txt_ReNr_M.ValidateRequestMode = UI.ValidateRequestMode.Disabled
|
||||
regex_txt_ReNr_M.Enabled = False
|
||||
End If
|
||||
|
||||
If pickdate1.Text = Nothing Or pickdate2.Text = Nothing Then
|
||||
|
||||
Reference in New Issue
Block a user