Änderung Erfasst wird nun korrekt ausgewählt sowie ein Default-Datum implemetiert

This commit is contained in:
ja
2021-09-20 11:16:28 +02:00
parent 29742ad3ab
commit 723fb6a4f7
2 changed files with 3 additions and 9 deletions

View File

@@ -238,11 +238,8 @@
$("#container2").show(); $("#container2").show();
} else { } else {
$("#container2").hide(); $("#container2").hide();
} }
});
}); });
$(document).ready(function () {
$("#container2").hide();
$('#<%=RadioButtonList2.ClientID %> input[type="radio"]').change(function () { $('#<%=RadioButtonList2.ClientID %> input[type="radio"]').change(function () {
if ($(this).val() == "Freigabe") { if ($(this).val() == "Freigabe") {
$("#container2").show(); $("#container2").show();
@@ -252,6 +249,6 @@
$("#container2").hide(); $("#container2").hide();
} }
}); });
}); });
</script> </script>
</asp:Content> </asp:Content>

View File

@@ -16,7 +16,6 @@ Partial Class Kundenbereich_Default
Page.UnobtrusiveValidationMode = UnobtrusiveValidationMode.WebForms Page.UnobtrusiveValidationMode = UnobtrusiveValidationMode.WebForms
DataBind() DataBind()
tbl_Header_row.TableSection = TableRowSection.TableHeader tbl_Header_row.TableSection = TableRowSection.TableHeader
' MsgBox(datebis) ' MsgBox(datebis)
If (Page.IsPostBack And normaltable.EnableViewState = False) Then If (Page.IsPostBack And normaltable.EnableViewState = False) Then
@@ -30,8 +29,6 @@ Partial Class Kundenbereich_Default
datebis = Nothing datebis = Nothing
normaltable.EnableViewState = True normaltable.EnableViewState = True
End If End If
End Sub End Sub
Protected Sub LogOutBtn1_Click(sender As Object, e As EventArgs) Protected Sub LogOutBtn1_Click(sender As Object, e As EventArgs)
@@ -244,7 +241,7 @@ Partial Class Kundenbereich_Default
tr.Cells.Add(tbl_CellLKWs) tr.Cells.Add(tbl_CellLKWs)
tbl_CellStatus.ValidateRequestMode = UI.ValidateRequestMode.Enabled tbl_CellStatus.ValidateRequestMode = UI.ValidateRequestMode.Enabled
Select Case d("Status") Select Case d("Status")
Case 1 Case 0
tbl_CellStatus.Text = "Erfasst" tbl_CellStatus.Text = "Erfasst"
tr.Cells.Add(tbl_CellStatus) tr.Cells.Add(tbl_CellStatus)
Case 1 Case 1