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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajkiran SwainPosted May 5, 2023, 5:27 AM
I can't post my answer here due to some issue. I have sent you a message with full code. Kindly check.
Ramco RamcoPosted May 5, 2023, 5:05 AM
Hi RajKiran
What does this mean - // Render the PDF file using PDF.js
Can u pls share full code
Thanks
Rajkiran SwainPosted May 5, 2023, 4:53 AM
View PDF
protected void Page_Load(object sender, EventArgs e)
{
string filePath = Request.QueryString["file"];
// Render the PDF file using PDF.js
}