Disable right click on SQL reporting services report in SharePoint 2007

We are working on SharePoint Workspace with Business Intelligence solution. There some report build with reporting services show in SharePoint page. Then, we come across a special requirement that the client do not allow user to “Right click” on the entire SharePoint page including the reports. If you are using page viewer or report web part to view the report in native mode, you will never able to include your JavaScript to disable the right click. This is because it using iFrame to link to the report. To overcome this problem, there are 3 steps need to be done.

Read the rest of this entry (moved to www.bronios.com) »

4 Responses to “Disable right click on SQL reporting services report in SharePoint 2007”

  1. BUDwiza Says:

    Can this be done for a picture library too? I would like to prevent people saving pictures of staff members from intranet portal.

  2. ¥ong¥s Says:

    Yes, you can use the same approach. Just simply add a content editor webpart with the javascript into the picture galery page. You may also add the javascript in the global sharepoint JS file. This step will apply the disable right click features to the whole site.

  3. darkstar Says:

    can you change the icon in the box to critical

  4. ¥ong¥s Says:

    Hi darkstar,
    You can not change the default properties of alert, confirm, and prompt with JavaScript. You have to use VBScript or you need to build your own out of layers… Do post the solution here if someone knows how to change it…


Leave a Reply