All Questions
1,443 questions
0
votes
0
answers
64
views
ASP.NET - How to save pdf after filling it
I would like to show a pdf file in my form, filling it and save the result in pdf file.
To show the file, I use:
<asp:Literal ID="ltEmbed" runat="server" />
Dim embed As ...
0
votes
1
answer
75
views
Process.Start(...) Suddenly Fails when Called by ASP.NET MVC 5 Running in IIS on Windows 10 and Windows Server 2019
I have a sudden issue that I can't seem to grasp. In my ASP.NET MVC 5 (.NET Framework 4.8) app running on IIS on Windows 10 (dev), and Windows Server 2019 (prod), I have had the following code to ...
0
votes
0
answers
56
views
Header Not Appearing in Generated PDF using html2pdf in asp.net
function convertHtmlToPdf() {
const element = document.getElementById('incidentReport');
const headerContent = generateHeaderContent(); // Get the header content
var ...
0
votes
1
answer
156
views
With ASP.NET and C#, font size is decreased when exporting Crystal Report to PDF
I found this, I needed to create a registry key:
HKEY_CURRENT_USER\Software\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Export\PDF\ForceLargerFonts
And then to set ...
0
votes
1
answer
740
views
QuestPDF does not save the PDF and does not open on a new tab
Iam using QuestPDF in asp.net core web application.
PDF is looking good and has everything it should.
The issue is it is not displaying in the browser but rather in acrobat reader or anything similar ...
0
votes
1
answer
225
views
Download PDF from server to client in ASP.NET using C#
I have this code that should download my .pdf file saved on the server to my client but when I click the button it does not execute anything and it does not send me any error, I don't know if it has ...
0
votes
1
answer
875
views
Content-Disposition inline not able to download PDF when open in chrome (asp.net)
byte[] byteData= GetByteData(this.reportContent);
response.Clear();
response.ClearContent();
response.ClearHeaders();
response.Buffer = true;
response.AddHeader("Accept-Header", byteData....
0
votes
1
answer
30
views
Pdf links throwing 500 error after firewall update
I'm using ASP.NET VB Web Forms Framework 4 for an old website that hosts a variety of content. We have had a recent firewall update on the server that enforced some stricter policies. All content on ...
0
votes
2
answers
254
views
Render a PDF in the browser (as opposed to downloading)
I have ASP.NET code that retrieves a PDF file from a database and gives it to the user to download in their browser. I want to make the PDF render inside the browser, without them having to manually ...
0
votes
0
answers
168
views
get value of field from an embedded pdf
I want to edit and update a PDF file in a browser window and then get the values of the updates and save them to sql.
I have embedded a PDF file into a ASP.Net page (has MasterPage). I have 2 ...
0
votes
1
answer
658
views
how to generate a large pdf report using itextsharp c# library
How to generate a large PDF report using itextsharp C#? Say for e.g. i wanted to create a PDF file which contains around 5000+ pages? Without Memory exception?
Document pdfDoc = new Document(PageSize....
0
votes
1
answer
682
views
PDF not recognize Gujarati Font which is i used in Crystal report (arial-unicode-ms) MVC Asp.net
Gujarati font not recognize when PDF download. I used Crystal report for generate PDF.Its work perfectly on Local machine but issue occurred after Hosting site.
Please anyone help me ..... that why ...
0
votes
0
answers
120
views
Code partially not applied (but executed) when a dynamically merged pdf file is downloaded
I build a PDF binder based on the path data inside a gridview. When looping through the grid is finished, the PDF is automatically downloaded. In case a file does not exists, I want this to be easily ...
0
votes
0
answers
616
views
Display pdf byte from database in div in ASP.Net Webforms
I have a problem with displaying a pdf in a div from my database. My pdf file is written in bytes and I get that value, but when I run my project nothing is displayed. Even though if I put that value ...
0
votes
1
answer
579
views
Automatically downloading pdf's from a website with python and wget
I am trying to download all pdf files which contain scanned school books from a website. I tried using wget but it doesn't work. I suspect this is due to the website being an ASP-page with a selection ...
-1
votes
2
answers
1k
views
PDF is not accessible through URL in IIS .NET Framework 4.8 app
I have a PDF file in a folder on a server within a IIS website app that I need to be able to open through a link/url, like below:
https://api.example.com/my-path/my-pdf-file.pdf
The PDF file is hosted ...
-1
votes
1
answer
870
views
How to convert Word documents to PDF without formatting issues [closed]
I need to convert Word documents to PDF in a Django application. The user uploads a Word document template. The application should then do a mail merge based on data in the database and save the PDF.
...
0
votes
0
answers
233
views
How to convert asp web api byte[] to pdf file in Angular 8?
I've been having some problems when I try to convert a byte[] coming from C# into a pdf file using Angular.
When I perform the conversion the file is created but is corrupted and it can't be opened &...
1
vote
1
answer
351
views
How to create image handler from pdf with pdflibnet?
i used PDFLIBNET to convert pdf to image :
public void ConvertPDFtoPNG(string filename, String dirOut)
{
try
{
PDFLibNet.PDFWrapper _pdfDoc = new PDFLibNet....
1
vote
1
answer
2k
views
How can i open PDF (In new window, or download it) in Post Method
The first one of the following examples is working perfectly. The second one istn working, the pdf is saved to the database but the Onpost Method isnt working
1.( Working Example) I am doing this with ...
0
votes
0
answers
251
views
How to merge multiples FileStreamResult into one?
I'm retrieving multiple PDFs files and I need to append into one single pdf file. This is my code:
public FileStreamResult downloadPdf2(int param)
{
if (response.Code ==...
1
vote
2
answers
218
views
Automate user action export
I'm using ASP.NET WEBFORMS and Telerik and I want to export a document with Telerik components. I'm doing this with client export manager of Telerik https://demos.telerik.com/aspnet-ajax/client-export-...
0
votes
3
answers
2k
views
PDF file fails upload on asp.net application
I have an ASP.NET application that runs on:
Windows Server 2019 Standard
IIS Version 10.0.17763.1
Application is set up to use HTTPS
Application is using the library System.Web.UI.WebControls....
1
vote
0
answers
2k
views
How to download a PDF from URL with C# API Controller (ASP.NET)
Built basic API controller that downloads a PDF file that is stored locally within the project.
Is there a way to modify the code so that the PDF can be downloaded from a URL link?
I've tried the ...
0
votes
1
answer
167
views
Is it possible import data into text box when user select word on pdf file? (ASP.NET , VB.NET)
I have an ASP.NET webform (using VB.NET) which is showing a .PDF file. Is it possible to input data into text box when user selected a word on pdf file? We can export pdf file with the data from ...
0
votes
1
answer
2k
views
How can I add Adobe Pdf viewer in Visual Studio 2019( Asp.net Vb.net Project)?
I am trying to display pdf file on my screen(web page). So I added "adobe pdf reader" in toolbox (COM) and also added "Adobe Acrobat 7.0 Browser Control Type Library 1.0" into ...
0
votes
1
answer
4k
views
Generate PDF with PDFSharp from HTML template and send to browser
I am currently writing an addition to a website that I made for work. It generates a PDF from an HTML template and then serves it to the browser so that it can be printed off.
I created a small test ...
-3
votes
1
answer
2k
views
Merge Azure Blobs (PDFs) into one Blob and download to user via C# ASP.NET
I have an ASP.NET Azure web application written in C# that involves the user uploading different pdfs into Azure Blob storage. I'd like the user to later download a combined PDF inclusive of ...
0
votes
1
answer
146
views
Error code 0x800704CD when generating PDF to zip
I know this question was asked & answered before, but the solutions don't work for me. I have to dynamically create a list of PDFs, and each row has a checkbox. You check the PDFs you want to ...
0
votes
1
answer
1k
views
C#: Display PDF in a new tab from byte[] returned by Web Service
My application is trying to display PDF stored in the database when user click on the icon link.
When the link is clicked, it will fire an Ajax call to Web service which using the ID to retrieve the ...
-1
votes
1
answer
663
views
How to add an image background as watermark to the pdf file?
I Created ExportToPDF Button to export Gridview to PDF file, then how can I add an image background as watermark to the PDF file?
protected void ExportToPDF(object sender, EventArgs e)
{
using (...
0
votes
0
answers
565
views
Itext7 PdfAction.CreateGoTo() Links not working in final document
I've parsed html into a PDF and created a table of contents from the Header tags. The bookmarks in the document work fine, but clicking on the line in the table of contents doesn't do anything. The ...
0
votes
1
answer
433
views
send a PDF for signature using In DocuSign api
In DocuSign C# api Can I send a PDF document in landscape for signature ?
1
vote
1
answer
331
views
Wkhtmltopdf images not reused after loading other images, results in large pdf size
I've noticed some strange behavior with wkhtmltopdf. When reusing the same images, wkhtmltopdf doesn't reuse the images and adds them for a second time to the pdf. This largely increases the pdf size.
...
1
vote
1
answer
552
views
Browse to a PDF in ASP.NET Web Site Folder
I have an ASP.NET Core web site running under IIS on a server. I created a folder and want to display any pdf file in that folder in the browser using the url for the site.
https://example.com/pdf/...
0
votes
0
answers
372
views
Getting message like "The following controls were successfully added to the toolbox but are not enabled in the active designer"
I'm trying to add PDF X Change Editor in my Webform in ASP.NET Webpage, I'm using visual studio 2015 version 4.8, and PDF X Change editor version is 1.0, I have added in COM compentents and got as ...
1
vote
1
answer
525
views
Get/Read Public Certificate for PDF Encryption using .pfx file with password through itext7 library/method
I have iText7 functions which I am using,
right now, I am trying to encrypt my PDF file using a certificate in .pfx format with password.
The thing is, the function cannot read .pfx because it does ...
0
votes
0
answers
168
views
Cannot Search Arabic words in Generated pdf by RDLC report
This is the generated pdf by my RDLC report, As you can see when I copy the Arabic word and search it by CTRL_F it's actually misunderstood in some other language or formatting I don't know .
I ...
1
vote
0
answers
208
views
Android / ASP - How to display PDF from page generated using ASP.NET hosted in Android webview?
I'm presented with a peculiar problem that hopefully someone can help me with.
The Android app I'm working on contains a journey that is entirely web-based; the app itself has fragment that contains a ...
0
votes
1
answer
395
views
adobe-dc-view dynamic URL
I want to get the file from the code behind in c# with adobe dc view ,
and i don't know how to do it , and i don't find examples on internet.
If anyone can help , here is The code
<asp:Content ID=&...
0
votes
0
answers
149
views
Google Chrome Not Display PDF from asp.net Page
I want to display a pdf file on an .aspx page with a button. The codes is like that:
string yol = e.CommandArgument.ToString();
string path = Server.MapPath("~/Raporlar/2021/" + yol....
0
votes
1
answer
83
views
Download PDF that I already Created ASP.Net
Long story short,
I want to create button that Print out PDF file to user Computer
So firstly, I create PDF file in server database / file and then I make it downloadable to user.
With this code I can ...
-1
votes
1
answer
351
views
Create pdf file from MySql table containing html code using iText7 and ASP NET C#
This is table t_contents_2021 on database MySql version 8.0.17
-- ----------------------------
-- Table structure for t_contents_2021
-- ----------------------------
DROP TABLE IF EXISTS `...
0
votes
0
answers
174
views
Split HTML into pages, each with header and footer
I have an HTML document that I need to convert to PDF. The problem is that I need to have some header and footer on every page of the converted PDF document.
Because content has a different size (some ...
0
votes
1
answer
292
views
Asp.net Display Pdf on Chrome - Error ERR_HTTP2_PROTOCOL_ERROR
I want to allow users to display a pdf and save it on my asp.net project.
My code is below:
string yol = e.CommandArgument.ToString();
string path = Server.MapPath("~/Raporlar/2021/&...
1
vote
1
answer
1k
views
Disabling PDF saving/printing/copying using iText 7
I want to display a PDF that does not allow users to copy, print or save. I have look around and it seems that iText 7 can do that but there is no code that I can take a look
3
votes
1
answer
859
views
Check the '...\HiQPdf.dep' resource file can be found near the HiQPdf.dll assembly and the user has read and execute permissions for this file
I am using HiQPdf plugin to convert a page (a customer invoice) to pdf on ASP.NET MVC app. It works fine on localhost but throws error after I publish it to Godaddy shared hosting server. This is the ...
0
votes
1
answer
179
views
Asp.Net application acessed from a cellphone: Open PDF file without downloading
Good morning!
I've been trying to find a solution to this issue for some time now but couldn't make anything work, so I decided to post my question here.
So here's the context: We have a ASP.NET ...
0
votes
1
answer
228
views
Bad Japanese formatting when rendering and generating in pdf
I have created an API that generates a report in pdf format in japanese language. I have added the required font-families in the css. The report looks good when I run the api in local. although when I ...
0
votes
0
answers
42
views
how to hide print button when pdf is opened in browser using asp.net c#? [duplicate]
protected void lnkView_Click(object sender, EventArgs e)
{
LinkButton lbkFile = (LinkButton)sender;
string FilePath = Server.MapPath("~/Uploads/Improvementdata/" + lbkFile....