0

Using pdf.js, I want to pass only file id number instead of file url then I will retrieve the file location(file url) from database with that file id number. I want all that process withing the viewer.aspx (I changed it to aspx file) and that viewer.aspx is embedded within a page. Now I am able to see the pdf viewer with default pdf file after embedding it. But I can't handle with pdf viewer instead of passing file url....

Any idea ???

Please do me a favor. Thank you so much.

3
  • use the session variables if you don't want to use querystrings. Your question doesn't make a lot of sense. Commented Dec 17, 2014 at 4:07
  • ok, thank you, one more questions, Please... With this session value , how can I pass it to pdf.js ?? Commented Dec 17, 2014 at 5:29
  • oh wait you can just put your variable in your as a js variable using <%=yourc#variable%> in your web form and set the variable value in the page load. here is an example stackoverflow.com/questions/3553680/… Commented Dec 17, 2014 at 6:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.