Lots of folks have asked this question and there are gazellions posts out there which gives little insight in this topic. But I thought they all lacked something or the other to get this going. Hence this blog is specifically for someone trying to accomplish something similar.
step 1: Know your URL. Lets say, you wanted to open clients information in your asp.net application by passing in clientID as querystring to that page. so the URL would be /ClientDetails.aspx?clientID">http://<yourdomain>/ClientDetails.aspx?clientID=###
step2: In your reporting services report design view, select the textbox which you want it to act like a hyperlink. Click on text box properties-> Action and in your select URL textbox, click on FX and copy and paste the code below (Remember to change the URL and the actual asp.net page in your implementation.
="javascript:void(window.open('http://<yourdomain>/ClientDetails.aspx?clientID=" & Fields!CliendID.Value & "','Window1','menubar=no,width=430,height=300,toolbar=no'));"
Step 3: Publish the report to reporting services environment. Remember, using preview mode in Visual Studio will not allow the link to function correctly. In order to test this, you have to publish the report onto the server and access the report that way.
Step4: Test your textbox click event. It should popup a window to your client application.
Step5: A little problem is that the link doesn’t actually look like a hyperlink so user wouldn’t know if a text box is clickable. So, all your do is underline the textbox and change the font-color to blue. Remember to republish. thats it..
Edit: Some folks asked about how to open a file stored in network shared? hmm. Similar approach as outline above, but with a slight change to the code that gets embedded inside Action command of a textbox. And here that is. This should get you going.. Enjoy!!!
="javascript:void(window.open('file://<ServerName>/<Directory>/"& Fields!LOGIN.Value &".JPG'))"