Änderungen

This commit is contained in:
ja
2021-11-29 16:28:58 +01:00
parent a6b5b576ee
commit a150983076
5 changed files with 23 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ Partial Class CustomsAviso
tbl_Header_row.TableSection = TableRowSection.TableHeader
' MsgBox(datebis)
btn_Auftraege.Enabled = True
If (Page.IsPostBack) Then
Page.MaintainScrollPositionOnPostBack = True
@@ -211,11 +211,12 @@ Partial Class CustomsAviso
datevon = Nothing
datebis = Nothing
End If
addrows()
Else
Page.MaintainScrollPositionOnPostBack = False
rbt_Alle.Checked = True
normaltable.EnableViewState = True
lbl_von.Visible = True
lbl_bis.Visible = True
@@ -276,9 +277,7 @@ Partial Class CustomsAviso
'Console.WriteLine(VERAG_VARIABLES.geterrornumb() + "The User is not authenticated to this page. Please login again!", vbAbort, "Error User")
FormsAuthentication.RedirectToLoginPage()
End If
If Not IsNothing(Session.Item("mytable")) Then
addrows()
End If
End Sub
Protected Sub initcells(tr As TableRow, t1 As TableCell, t2 As TableCell, t3 As TableCell, t4 As TableCell, t5 As TableCell, t6 As TableCell, t7 As TableCell, t8 As TableCell, th1 As TableHeaderCell, th2 As TableHeaderCell, th3 As TableHeaderCell, th4 As TableHeaderCell, th5 As TableHeaderCell, th6 As TableHeaderCell, th7 As TableHeaderCell, th8 As TableHeaderCell)
@@ -388,7 +387,7 @@ Partial Class CustomsAviso
th8.ForeColor = white
End Sub
Protected Sub btn_Auftraege_Click(sender As Object, e As EventArgs)
Protected Sub btn_Auftraege_Click(ByVal sender As Object, e As EventArgs) Handles btn_Auftraege.Click
dt = Nothing
Session.Add("mytable", Nothing)
If Session.Item("mytable") = Nothing Then