Trying to create webpart.
Steps to be achieved.
- user clicks on an item(PDF file) in library, URL override required from Sharepoint.
- displaying PDF on modal dialog (not using Adobe plug-in from web-browser)
I'm newbie to Sharepoint.
If someone can show me how to implement this step by step it's saving my life.
Main reason for this is to prevent user downloading to local HDD. after this, I'm planning to add watermark display only on screen and print-out will not have this watermark.
Use this function:
Place OpenDialog function on your masterpage, then you can call it from everywhere you need. For Example, I have document library with XSLT, I call OpenDialog function from here.
Just parsing your pdf path and title into OpenDialog function.