Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed one http handler for pdf document and registered on event activate. Its working fine while cliking on the document link from sharepoint document library, But when clicking on Download a Copy from context Menu->Send To->Download a Copy or from ribbon Download a Copy, the code is not triggering.Any thought, why its not triggering and how can fix this?
Posted

1 solution

Download a Copy link refers to '_layouts/download.aspx' page. This page accepts the url of the file as Query string parameter. Which will be used to read the file and write to the output stream. This might be the reason for your event handler to not triggering.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900