To add links to your SQL Server Reporting Services reports right click on the tex box, select Properties and go to the Navigation tab.  In the Hyperlink action section at the bottom select the Jump to URL option and add some javascript similar to this:

="javascript:void(window.location.href='/somewebpage.aspx?id=" + Fields!SomeField.Value + "')"

You can of course use window.open as well to open the page in a new windows, and you may want to change the text colour to show that is it a link.
Ssj
6/2/2011 04:09:54 pm

When i add parameter , the length of the link increases.So i need to set thelink as " Link". How can we do this in Java script for SSRS.


Comments are closed.