Änderung gui button pdf

This commit is contained in:
ja
2021-11-03 17:02:19 +01:00
parent 580799933e
commit 5eace02936
4 changed files with 10 additions and 7 deletions

View File

@@ -110,6 +110,8 @@ Partial Class Customers_Default3
t8.BackColor = white
t8.ForeColor = veragblue
End If
t8.Width = Unit.Pixel(36.7)
th1.Font.Bold = True
th2.Font.Bold = True
th3.Font.Bold = True
@@ -134,6 +136,7 @@ Partial Class Customers_Default3
th6.ForeColor = white
th7.ForeColor = white
th8.ForeColor = white
th8.Width = Unit.Pixel(36.7)
End Sub
Protected Sub btn_b_Click(sender As Object, e As EventArgs)
@@ -435,8 +438,11 @@ Partial Class Customers_Default3
btn.ImageUrl = "../images/pdficon.gif"
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.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.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,