Änderungen Tabellengestaltung

This commit is contained in:
ja
2021-11-22 13:58:13 +01:00
parent 0318344d3d
commit d0a0208d7c
2 changed files with 10 additions and 10 deletions

View File

@@ -19,8 +19,7 @@ Partial Class CustomsAviso
Page.UnobtrusiveValidationMode = UnobtrusiveValidationMode.WebForms
VERAG_VARIABLES.initerrorcount()
If Me.Page.User.Identity.IsAuthenticated Then
If Me.Page.User.Identity.IsAuthenticated = True Then
Try
Kdnrtext = Session.Item("CustomerID")
Catch A As UnauthorizedAccessException When String.IsNullOrEmpty(Kdnrtext)

View File

@@ -126,12 +126,13 @@ Partial Class Customers_Default3
End If
If String.IsNullOrEmpty(t8.Text) Then
t8.BackColor = white
t8.Width = Unit.Pixel(75)
t8.Height = Unit.Pixel(90)
t8.Width = Unit.Pixel(60)
t8.Height = Unit.Pixel(72)
Else
t8.BackColor = white
t8.ForeColor = veragblue
t8.Width = Unit.Pixel(60)
t8.Height = Unit.Pixel(72)
End If
th1.Font.Bold = True
@@ -158,7 +159,7 @@ Partial Class Customers_Default3
th6.ForeColor = white
th7.ForeColor = white
th8.ForeColor = white
th8.Width = Unit.Pixel(75)
th8.Width = Unit.Pixel(60)
End Sub
Protected Sub btn_b_Click(sender As Object, e As EventArgs)
@@ -461,15 +462,15 @@ Partial Class Customers_Default3
btn.Style.Add("Display", "table-cell")
btn.Style.Add("Vertical-align", "middle")
btn.Style.Add("margin", "2px 2px 8px 4px")
btn.Width = Unit.Pixel(73)
btn.Height = Unit.Pixel(85)
btn.Width = Unit.Pixel(60)
btn.Height = Unit.Pixel(72)
'btn.Attributes.Add("href", "pdfviewer.aspx?P1=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.FilialenNr).ToString() + "&P2=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.AbfertigungsNr).ToString + "&P3=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.RK_ID).ToString)
btn.Attributes.Add("onclick", "window.open('../pdf/Bonizertifikat.pdf')")
'btn.PostBackUrl = "pdfviewer.aspx?P1=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.FilialenNr).ToString + "&P2=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.AbfertigungsNr).ToString + "&P3=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.RK_ID).ToString
tbl_Cell_Info.ValidateRequestMode = UI.ValidateRequestMode.Enabled
tbl_Cell_Info.Width = Unit.Pixel(80)
tbl_Cell_Info.Height = Unit.Pixel(90)
tbl_Cell_Info.Width = Unit.Pixel(60)
tbl_Cell_Info.Height = Unit.Pixel(70)
tbl_Cell_Info.Controls.Add(btn)
tr.Cells.Add(tbl_Cell_Info)
initcells(tr, tbl_Cell_Index, tbl_Cell_ReNr, tbl_Cell_LKWs, tbl_Cell_Auftragsdat, tbl_Cell_KundAuftrNr, tbl_Cell_Absender, tbl_Cell_Empfaenger, tbl_Cell_Info,