PDF icon verbessert und größe angepasst

This commit is contained in:
ja
2021-11-08 15:34:59 +01:00
parent 40884fe8c4
commit 7511747340
3 changed files with 10 additions and 8 deletions

View File

@@ -124,7 +124,8 @@ Partial Class Customers_Default3
t8.ForeColor = veragblue
End If
t8.Width = Unit.Pixel(36.7)
t8.Width = Unit.Pixel(22)
t8.Height = Unit.Pixel(26)
th1.Font.Bold = True
th2.Font.Bold = True
th3.Font.Bold = True
@@ -149,7 +150,7 @@ Partial Class Customers_Default3
th6.ForeColor = white
th7.ForeColor = white
th8.ForeColor = white
th8.Width = Unit.Pixel(36.7)
th8.Width = Unit.Pixel(22)
End Sub
Protected Sub btn_b_Click(sender As Object, e As EventArgs)
@@ -444,14 +445,15 @@ Partial Class Customers_Default3
Dim btn As New ImageButton
btn.ViewStateMode = ViewStateMode.Enabled
btn.CssClass = "btn btn-primary"
btn.ImageUrl = "../images/pdficon.gif"
btn.ImageUrl = "../images/Icons/main/833px-PDF_file_icon_small.gif"
btn.ImageAlign = ImageAlign.Middle
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("Target", "_blank")
btn.Width = Unit.Percentage(100)
btn.Height = Unit.Percentage(100)
btn.Width = Unit.Pixel(72)
btn.Height = Unit.Pixel(56)
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(36.7)
tbl_Cell_Info.Width = Unit.Pixel(22)
tbl_Cell_Info.Height = Unit.Pixel(26)
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,