Hi
I have pdf files downloaded on server. I want to display them as a link in Repeater. When user Clicks it should open in another window & user should not be able to Download
Thanks
Hi
I have pdf files downloaded on server. I want to display them as a link in Repeater. When user Clicks it should open in another window & user should not be able to Download
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajkiran SwainRank #165 · 14.4K reputationPosted May 5, 2023, 12:53 AM EDT
View PDF
protected void Page_Load(object sender, EventArgs e)
{
string filePath = Request.QueryString["file"];
// Render the PDF file using PDF.js
}
Ramco RamcoRank #462 · 5.4K reputationPosted May 5, 2023, 1:05 AM EDT
Hi RajKiran
What does this mean - // Render the PDF file using PDF.js
Can u pls share full code
Thanks
Rajkiran SwainRank #165 · 14.4K reputationPosted May 5, 2023, 1:27 AM EDT
I can't post my answer here due to some issue. I have sent you a message with full code. Kindly check.