diff --git a/App_Code/WebService.vb b/App_Code/WebService.vb index ea66b4d..adb5e3e 100644 --- a/App_Code/WebService.vb +++ b/App_Code/WebService.vb @@ -12,7 +12,7 @@ Public Class WebService Inherits System.Web.Services.WebService - Public Function Show(ByVal sLookUP As String) As List(Of String) + Public Function ShowLKWs(ByVal sLookUP As String) As List(Of String) Dim lstCountries As New List(Of String)() Dim Connectionstring As String = String.Empty diff --git a/Customers/CustomsAviso.aspx b/Customers/CustomsAviso.aspx index 8de2010..788a44b 100644 --- a/Customers/CustomsAviso.aspx +++ b/Customers/CustomsAviso.aspx @@ -151,12 +151,12 @@
- --> + + diff --git a/Customers/CustomsAviso.aspx.vb b/Customers/CustomsAviso.aspx.vb index b12e96c..b4c20d8 100644 --- a/Customers/CustomsAviso.aspx.vb +++ b/Customers/CustomsAviso.aspx.vb @@ -495,7 +495,7 @@ Partial Class CustomsAviso regval_txt_KdNrAuftrag_M.ForeColor = Drawing.Color.Red regval_txt_KdNrAuftrag_M.ErrorMessage = "Die Kundennummer ist nicht richtig formatiert." End If - ElseIf String.IsNullOrEmpty(txt_LKWNr_M.Text) = False Then + ElseIf txt_LKWNr_M.Text IsNot "" Then txt_LKWNr_M.ValidateRequestMode = UI.ValidateRequestMode.Enabled regexval_txt_LKWNr_M.Enabled = True regexval_txt_LKWNr_M.Validate() diff --git a/Customers/Invoices.aspx b/Customers/Invoices.aspx index 0ced49c..a84f244 100644 --- a/Customers/Invoices.aspx +++ b/Customers/Invoices.aspx @@ -222,7 +222,7 @@ $("#txt_LKW").autocomplete({ source: function(request, response) { $.ajax({ - url: "WebService.asmx/Show", + url: "WebService.asmx/ShowLKWs", data: "{ 'sLookUP': '" + request.term + "' }", dataType: "json", type: "POST",