AutoComplete verworfen
This commit is contained in:
@@ -28,10 +28,10 @@
|
||||
<link rel="stylesheet" type="text/css" href="../css/navbarsidebar2.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="../css/Customers/Invoices.css"/>
|
||||
|
||||
|
||||
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
||||
@@ -51,23 +51,23 @@
|
||||
<br />
|
||||
<h3>Here you'll find all Information about your Invoices.</h3>
|
||||
<%Try
|
||||
VERAG_PROG_ALLGEMEIN.cAllgemein.ERR_OP_GLOBAL = VERAG_PROG_ALLGEMEIN.ERROR_OP.SHOW
|
||||
'Dim AD As New VERAG_PROG_ALLGEMEIN.cAdressen(799124)
|
||||
Dim VERAGSQL = New VERAG_PROG_ALLGEMEIN.SQL
|
||||
' MsgBox(VERAGSQL.GetADMINConnectionString())
|
||||
'Response.Write(AD.Ordnungsbegriff)
|
||||
Dim STANDORT = "SUB"
|
||||
If (Request.QueryString.Count > 0) AndAlso (Request.QueryString("STANDORT") IsNot Nothing) Then
|
||||
Try
|
||||
STANDORT = (Request.QueryString("STANDORT"))
|
||||
Catch ex As Exception
|
||||
STANDORT = "SUB"
|
||||
End Try
|
||||
End If
|
||||
If True Then
|
||||
Dim AVISO_dt As System.Data.DataTable = VERAG_PROG_ALLGEMEIN.cAviso.getAVISO_List(STANDORT)
|
||||
If AVISO_dt IsNot Nothing Then
|
||||
If True Then 'AVISO.Status <> 1 And AVISO.Status <> 2 Then 'SENDUNGSTABELLE'%>
|
||||
VERAG_PROG_ALLGEMEIN.cAllgemein.ERR_OP_GLOBAL = VERAG_PROG_ALLGEMEIN.ERROR_OP.SHOW
|
||||
'Dim AD As New VERAG_PROG_ALLGEMEIN.cAdressen(799124)
|
||||
Dim VERAGSQL = New VERAG_PROG_ALLGEMEIN.SQL
|
||||
' MsgBox(VERAGSQL.GetADMINConnectionString())
|
||||
'Response.Write(AD.Ordnungsbegriff)
|
||||
Dim STANDORT = "SUB"
|
||||
If (Request.QueryString.Count > 0) AndAlso (Request.QueryString("STANDORT") IsNot Nothing) Then
|
||||
Try
|
||||
STANDORT = (Request.QueryString("STANDORT"))
|
||||
Catch ex As Exception
|
||||
STANDORT = "SUB"
|
||||
End Try
|
||||
End If
|
||||
If True Then
|
||||
Dim AVISO_dt As System.Data.DataTable = VERAG_PROG_ALLGEMEIN.cAviso.getAVISO_List(STANDORT)
|
||||
If AVISO_dt IsNot Nothing Then
|
||||
If True Then 'AVISO.Status <> 1 And AVISO.Status <> 2 Then 'SENDUNGSTABELLE'%>
|
||||
<div class="col-12" style="margin-left:4px">
|
||||
<div>
|
||||
<div style="height:0.936768149882904vh"></div>
|
||||
@@ -208,258 +208,14 @@
|
||||
<asp:Label ID="lbl_status" runat="server" Font-Size="1em" ForeColor="Black" Text=""></asp:Label>
|
||||
|
||||
<% End If
|
||||
End If
|
||||
End If
|
||||
Catch ex As Exception
|
||||
Response.Write(ex.Message & ex.StackTrace)
|
||||
End Try %>
|
||||
End If
|
||||
End If
|
||||
Catch ex As Exception
|
||||
Response.Write(ex.Message & ex.StackTrace)
|
||||
End Try %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ContentTemplate></asp:UpdatePanel>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
BindControls();
|
||||
BindControls_M();
|
||||
BindControls2();
|
||||
BindControls2_M();
|
||||
BindControls3();
|
||||
BindControls3_M();
|
||||
BindControls4();
|
||||
BindControls4_M();
|
||||
});
|
||||
|
||||
function BindControls() {
|
||||
$("#txt_LKW").autocomplete({
|
||||
source: function(request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowLKWs",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function(data) { return data; },
|
||||
success: function(data) {
|
||||
response($.map(data.d, function(item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 1 CHARACTER TO START WITH.
|
||||
});
|
||||
}
|
||||
function BindControls_M() {
|
||||
$("#txt_LKW_M").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowLKWs",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function (data) { return data; },
|
||||
success: function (data) {
|
||||
response($.map(data.d, function (item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 1 CHARACTER TO START WITH.
|
||||
});
|
||||
}
|
||||
|
||||
function BindControls2() {
|
||||
$("#txt_KdNrAuftrag").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowKdNrAuftrag",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function (data) { return data; },
|
||||
success: function (data) {
|
||||
response($.map(data.d, function (item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 1 CHARACTER TO START WITH.
|
||||
});
|
||||
}
|
||||
function BindControls2_M() {
|
||||
$("#txt_KdNrAuftrag_M").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowKdNrAuftrag",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function (data) { return data; },
|
||||
success: function (data) {
|
||||
response($.map(data.d, function (item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 3 CHARACTER TO START WITH.
|
||||
});
|
||||
}
|
||||
function BindControls3() {
|
||||
$("#txt_Absender").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowAbsender",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function (data) { return data; },
|
||||
success: function (data) {
|
||||
response($.map(data.d, function (item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 1 CHARACTER TO START WITH.
|
||||
});
|
||||
}
|
||||
function BindControls3_M() {
|
||||
$("#txt_Absender_M").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowAbsender",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function (data) { return data; },
|
||||
success: function (data) {
|
||||
response($.map(data.d, function (item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 3 CHARACTER TO START WITH.
|
||||
});
|
||||
}
|
||||
function BindControls4() {
|
||||
$("<%=txt_Empfaenger.ClientID%>").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowEmpfaenger",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function (data) { return data; },
|
||||
success: function (data) {
|
||||
response($.map(data.d, function (item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 1 CHARACTER TO START WITH.
|
||||
});
|
||||
}
|
||||
function BindControls4_M() {
|
||||
$("<%=txt_Empfaenger_M.ClientID%>").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowEmpfaenger",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function (data) { return data; },
|
||||
success: function (data) {
|
||||
response($.map(data.d, function (item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 1 CHARACTER TO START WITH.
|
||||
});
|
||||
}function BindControls5() {
|
||||
$("<%=txt_ReNr.ClientID%>").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowRENr",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function (data) { return data; },
|
||||
success: function (data) {
|
||||
response($.map(data.d, function (item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 1 CHARACTER TO START WITH.
|
||||
});
|
||||
}
|
||||
function BindControls5_M() {
|
||||
$("<%=txt_ReNr_M.ClientID%>").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "../App_Code/WebService.asmx/ShowRENr",
|
||||
data: "{ 'sLookUP': '" + request.term + "' }",
|
||||
dataType: "json",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataFilter: function (data) { return data; },
|
||||
success: function (data) {
|
||||
response($.map(data.d, function (item) {
|
||||
return { value: item }
|
||||
}))
|
||||
},
|
||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||
alert(textStatus);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 1 // MINIMUM 3 CHARACTER TO START WITH.
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</ContentTemplate></asp:UpdatePanel>
|
||||
</asp:Content>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user