Tabelle soll mittels Web-Methos aufgefüllt werdne.
This commit is contained in:
@@ -139,11 +139,14 @@
|
||||
<!-- jQuery CDN - Slim version (=without AJAX) -->
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
||||
<!-- Popper.JS -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
||||
function TableRow_Click(Nat, Kennzeichen,tempstrarr) {
|
||||
debugger
|
||||
|
||||
let Speditionslabel = document.getElementById("<%=lbl_sped_Placeholder.ClientID%>")
|
||||
let natplaceholder = document.getElementById("<%=lbl_Placeholder.ClientID%>")
|
||||
let table = document.getElementById("<%=tbl_mainpage.ClientID%>")
|
||||
@@ -154,11 +157,23 @@
|
||||
|
||||
for (let i = rowCount - 1; i > 0; i--) {
|
||||
table.deleteRow(i);
|
||||
}
|
||||
let arrtemp = tempstrarr.split(",")
|
||||
addNewRow()
|
||||
}
|
||||
let arrtemp = tempstrarr.split(",");
|
||||
for (let j = 0; j < arrtemp.length; j++) {
|
||||
SDLNr = arrtemp[j];
|
||||
j++;
|
||||
Bez = arrtemp[j];
|
||||
j++;
|
||||
GueltBs = arrtemp[j];
|
||||
j++;
|
||||
KartNr = arrtemp[j];
|
||||
Pagemethods.filltable2(SDLNr, Bez, GueltBs, KartNr, onerror);
|
||||
}
|
||||
addNewRow()
|
||||
}
|
||||
|
||||
function onFailure(error) {
|
||||
alert(error);
|
||||
}
|
||||
function TableRow_Click_M(Nat, Kennzeichen,tempstrarr_M) {
|
||||
debugger
|
||||
let Speditionslabel = document.getElementById("<%=lbl_sped_Placeholder_M.ClientID%>");
|
||||
@@ -171,8 +186,8 @@
|
||||
for (let i = rowCount - 1; i > 0; i--) {
|
||||
table_M.deleteRow(i);
|
||||
}
|
||||
let arrtemp = tempstrarr_M.split("-")
|
||||
for (int j = 0; j < arrtemp.length; j++) {
|
||||
let arrtemp = tempstrarr_M.split(",")
|
||||
for (let j = 0; j < arrtemp.length; j++) {
|
||||
alert(arrtemp[j])
|
||||
}
|
||||
}
|
||||
@@ -289,10 +304,7 @@
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function doPostBack(id, strtemp) {
|
||||
var arr = strtemp.split(",")
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
alert(id + '&' + arr[i]);
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user