April 1, 2005 at 2:25 pm
I have report with in which a field is marked as hyperlink. This works fine except that it opens in the same window when clicked. How do I make this open in the new window?
April 3, 2005 at 10:03 pm
one way to do this to make ur own application that could fulfuill ur this customize need using reportingservices class exposed by SOAP API of the microsoft reporting services and its render method
April 4, 2005 at 1:35 am
How about setting '_blank' as the target ??
--------------------
Colt 45 - the original point and click interface
April 4, 2005 at 10:48 pm
phill i ve used render method in my webapplication n in return got the report in bytes then i ve encoded it to text n replaced the "<a " with "<a target=_blank" in order to open the hyperlinks in the new window but for all this i had to make my own customized report viewer(Web application) n have to use reporting services class (SOAP API) but as u r saying that whats abt setting '_blank' as the target could not make me understand what u want to say but it sounds that its bit easier solution
as i ve understood u want to set "_blank" as target somewhere in the report but how could it b possible plz if u kindly explain it what to write in the expression n where thanxs in advance
regards
hammad
April 4, 2005 at 11:43 pm
You put it in the document map label. This is a standard thing for hyperlinks. You can also use _self, _top, _parent, etc...
From Books Online,
"Advanced Textbox Properties (Navigation Tab)
Use the Navigation tab of the Advanced Textbox Properties dialog box to define navigation options for the text box.
Options
Document map label
Type or select a label or an expression that evaluates to a label. Click the expression (fx) button to edit the expression. The value of the label appears on the document map."
--------------------
Colt 45 - the original point and click interface
April 5, 2005 at 3:22 am
thanx a lot i ll check it out once again thanx it was bit simple thing but i couldnt see it u helped me out
regards
April 6, 2005 at 10:17 pm
hi phil
well i ve tried to open the hyperlinks in new window as per ur suggestions but i m very sorry to tell u that i couldnt make it. it seems i m little dumb so plz will u explain the process of opening the hyperlink in new window without making own customized report viewer i ll b thankful for ur help
regards
hammad
April 6, 2005 at 10:23 pm
Send an email to philcart@gmail.com and I'll send some screenshots.
--------------------
Colt 45 - the original point and click interface
July 26, 2007 at 12:56 pm
I know that this is super old, but when I was searching for a solution to this problem this was the first hit google picked up, so I am going to reply, so that no one else has to keep searching. The best answers I found were http://www.microsoft.com/technet/prodtechnol/sql/2005/smartreports.mspx and http://mssqltips.com/tip.asp?tip=1283 The first show how to open in window of specific size without tool bars, other just shows open new window with screen shots. Anyways, the syntax looks like this
="javascript:void(window.open('PUT YOUR URL HERE'))"
Hope this helps... Sarah
December 26, 2007 at 6:29 pm
Thanks Sarah- working like a charm
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply