Änderunge gUI Scaling Mobil zu Desktop und pdfs asl Beispiel in neuem Tab aufmachen möglich!
This commit is contained in:
@@ -444,15 +444,17 @@ Partial Class Customers_Default3
|
|||||||
tbl_Cell_Empfaenger.Text = d.EmpfängerName_1.ToString
|
tbl_Cell_Empfaenger.Text = d.EmpfängerName_1.ToString
|
||||||
End If
|
End If
|
||||||
tr.Cells.Add(tbl_Cell_Empfaenger)
|
tr.Cells.Add(tbl_Cell_Empfaenger)
|
||||||
|
|
||||||
Dim btn As New ImageButton
|
Dim btn As New ImageButton
|
||||||
btn.ViewStateMode = ViewStateMode.Enabled
|
btn.ViewStateMode = ViewStateMode.Enabled
|
||||||
btn.CssClass = "btn btn-primary"
|
btn.CssClass = "btn btn-primary"
|
||||||
btn.ImageUrl = "../images/Icons/main/833px-PDF_file_icon_small.gif"
|
btn.ImageUrl = "../images/Icons/main/833px-PDF_file_icon_small.gif"
|
||||||
btn.ImageAlign = ImageAlign.Middle
|
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("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.Width = Unit.Pixel(72)
|
btn.Width = Unit.Pixel(72)
|
||||||
btn.Height = Unit.Pixel(56)
|
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
|
'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.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||||
tbl_Cell_Info.Width = Unit.Pixel(22)
|
tbl_Cell_Info.Width = Unit.Pixel(22)
|
||||||
tbl_Cell_Info.Height = Unit.Pixel(26)
|
tbl_Cell_Info.Height = Unit.Pixel(26)
|
||||||
|
|||||||
@@ -67,13 +67,13 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
overflow-y: clip;
|
overflow-y: clip;
|
||||||
overflow-x: clip;
|
overflow-x: clip;
|
||||||
max-width:390px;
|
width:390px;
|
||||||
}
|
}
|
||||||
#content_container {
|
#content_container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 400px;
|
width: 390px;
|
||||||
height: 613px;
|
height: 613px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
|
|||||||
Reference in New Issue
Block a user