Änderungen Invoices.aspx und Web.config

This commit is contained in:
ja
2021-11-02 08:57:55 +01:00
parent 9d1d8313a5
commit 96add5e3a7
3 changed files with 139 additions and 138 deletions

View File

@@ -184,7 +184,8 @@
</div>
</div>
<div id="Abstand_laenger" style="height: /*24px*/ 1.873536299765808vh;"></div>
<asp:Button ID="btn_Send_Data" class="btn btn-primary" OnClick="btn_Send_Data_Click" runat="server" Text="Erhalte Rechnungen" CausesValidation="false" style="font-size:1.33em;width:260px;height:30px;color:#fff" />
<asp:Button ID="btn_Send_Data" class="btn btn-primary" runat="server" Text="Erhalte Rechnungen" OnClick="btn_Send_Data_Click" CausesValidation="false" style="font-size:1.33em;width:260px;height:30px;color:#fff" />
<div id="Abstand_lang" style="height: /*32px*/ 2.498048399687744vh;"></div>
<div class="g-3">
<div id="conovertab" style="overflow-x:auto;margin-left:-2px">

View File

@@ -164,6 +164,7 @@ Partial Class Customers_Invoices
Protected Sub btn_Send_Data_Click(sender As Object, e As EventArgs)
dt = Nothing
valreq_pickdate1.Validate()
valreq_pickdate2.Validate()
If valreq_pickdate1.IsValid And valreq_pickdate2.IsValid And Kdnrtext = Not "" Then
@@ -240,7 +241,6 @@ Partial Class Customers_Invoices
lbl_status.Text = ex.Message
End Try
End If
If Not String.IsNullOrEmpty(txt_Absender_M.Text) Then
txt_Absender_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
Try
@@ -273,7 +273,6 @@ Partial Class Customers_Invoices
lbl_status.Text = ex.Message
End Try
End If
If Not String.IsNullOrEmpty(txt_ReNr_M.Text) Then
txt_ReNr_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled
Try
@@ -382,4 +381,5 @@ Partial Class Customers_Invoices
End If
'End If
End Sub
End Class

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" ?>
<!--
Weitere Informationen zum Konfigurieren der ASP.NET-Anwendung finden Sie unter
http://go.microsoft.com/fwlink/?LinkId=169433
@@ -122,7 +122,7 @@
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="false" />
</appSettings>
<location path="Customers">
<system.web>