Änderungen Implementierung Fehlernummern-System in jeder Seite

This commit is contained in:
ja
2021-11-17 13:19:35 +01:00
parent 2d4c767460
commit 22e7360f80
21 changed files with 110 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ Partial Class Customers_Default
Inherits System.Web.UI.Page
Dim Kdnrtext As String = String.Empty
Protected Sub Page_Load(sender As Object, e As EventArgs)
If Me.Page.User.Identity.IsAuthenticated And String.Equals(Me.Page.User.Identity.Name, "Admin") = True Then
Try
Kdnrtext = Session.Item("CustomerID")
@@ -14,8 +15,10 @@ Partial Class Customers_Default
End If
If Page.IsPostBack = True Then
Page.MaintainScrollPositionOnPostBack = True
VERAG_VARIABLES.initerrorcount()
Else
Page.MaintainScrollPositionOnPostBack = False
VERAG_VARIABLES.initerrorcount()
End If
End Sub