update 20260326
This commit is contained in:
Binary file not shown.
@@ -1 +1 @@
|
||||
0358c1c86ae90780049baadd92e8b1a6c37002f6fdab06531303b154229e8122
|
||||
547a5879b1d21b43d7c36de65bf9d6e3dd3906cda020cd0d393b7de8221dc1a6
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -20,9 +20,9 @@
|
||||
"idField": "ID",
|
||||
"displayField": "ID",
|
||||
"jsonField": "JsonData",
|
||||
"Buttons": "Öffnen",
|
||||
"Buttons": "Öffnen;DokumenteAnzeigen",
|
||||
"AnzeigeDokument": "",
|
||||
"FilterColumns": "GUID"
|
||||
"FilterColumns": "id;GUID"
|
||||
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
"UserID": "admin",
|
||||
"Password": "1234"
|
||||
"Password": "12345"
|
||||
},
|
||||
{
|
||||
"UserID": "user1",
|
||||
|
||||
@@ -304,15 +304,30 @@ padding-bottom:20px;
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
function showAPIDocs(tableKey, id) {
|
||||
PageMethods.gwrAPIDocs(
|
||||
tableKey,
|
||||
id,
|
||||
function (result) {
|
||||
var pdfWindow = window.open("");
|
||||
pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + result + "'></iframe>");
|
||||
},
|
||||
function (err) {
|
||||
|
||||
alert(err.get_message())
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
function showPacDoc(tableKey, id) {
|
||||
PageMethods.GetPacDoc(
|
||||
tableKey,
|
||||
id,
|
||||
function (result) {
|
||||
|
||||
var pdfWindow = window.open("");
|
||||
pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + result + "'></iframe>");
|
||||
window.open("\PDFViewer.aspx", '_blank').focus();
|
||||
//var pdfWindow = window.open("");
|
||||
//pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + result + "'></iframe>");
|
||||
},
|
||||
function (err) {
|
||||
|
||||
|
||||
14
API_NetFramework/obj/Debug/Package/PackageTmp/PDFViewer.aspx
Normal file
14
API_NetFramework/obj/Debug/Package/PackageTmp/PDFViewer.aspx
Normal file
@@ -0,0 +1,14 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PDFViewer.aspx.cs" Inherits="OnDocAPI_NetFramework.PDFViewer" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head runat="server">
|
||||
<title>PDF Viewer</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<!-- Optional: Falls du die PDF im selben Layout anzeigen willst -->
|
||||
<iframe src="PdfViewer.aspx?inline=true" width="100%" height="800px"></iframe>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user