Wednesday, March 7, 2012

Different target links for link in the same report

I spent quite a bit of time trying work around this problem. Can
anypne help me with this?
I have several reports that I want to sort on the Column. When I sort
on the Column I call the same report and pass the parameters back to
and just change the Order by clause to the Column name. In the case
when I call the report I want it to appear in the same window. So I
use Target=_top.
On another field on the report I want the report to open in a new
window. Even if I set the URL to RC:Target=_blank it still opens in
the Parent window. If I user Target=_blank when calling the main
report, then all links open in new windows including when I sort on a
column.
Thanks
TomIn the current version of reporting services, all link targets for drill
through hyperlinks must have the same target value. It can only be set on
the parent report using rc:LinkTarget.
--
Bryan Keller
Developer Documentation
SQL Server Reporting Services
A friendly reminder that this posting is provided "AS IS" with no
warranties, and confers no rights.
"tmcgrath" <tmcgrath@.vhb.com> wrote in message
news:9e370943.0408161035.3d7471cc@.posting.google.com...
> I spent quite a bit of time trying work around this problem. Can
> anypne help me with this?
> I have several reports that I want to sort on the Column. When I sort
> on the Column I call the same report and pass the parameters back to
> and just change the Order by clause to the Column name. In the case
> when I call the report I want it to appear in the same window. So I
> use Target=_top.
> On another field on the report I want the report to open in a new
> window. Even if I set the URL to RC:Target=_blank it still opens in
> the Parent window. If I user Target=_blank when calling the main
> report, then all links open in new windows including when I sort on a
> column.
> Thanks
> Tom|||I've tried adding javascript into the Jump to URL field but whenever I click
the links nothing happens... nothing at all. My Java is on at least on my
local machine... i don't know about the actual report server, otherwise
certain parts of the web site I'm working on wouldn't work at all. Would it
be the settings on the report server or just something I seem to have missed
here?
"Nikola Tepper" wrote:
> Look at my post from 8/26:
> I think I have a solution. If you want a particular link to be opened in a
> new window, enter this into the "Jump to URL" field:
> javascript:if(window.open(yourPage.aspx','RsWindow','width=400,height=500,location=0,menubar=0,status=0,toolbar=0,scrollbars=1',true)){}
> Just play with the javascript, and you can direct the link into any frame
> you like, although you have to keep in mind security measures for iframes and
> frames
>
> "Bryan Keller [MSFT]" wrote:
> > In the current version of reporting services, all link targets for drill
> > through hyperlinks must have the same target value. It can only be set on
> > the parent report using rc:LinkTarget.
> >
> > --
> > Bryan Keller
> > Developer Documentation
> > SQL Server Reporting Services
> >
> > A friendly reminder that this posting is provided "AS IS" with no
> > warranties, and confers no rights.
> >
> >
> > "tmcgrath" <tmcgrath@.vhb.com> wrote in message
> > news:9e370943.0408161035.3d7471cc@.posting.google.com...
> > > I spent quite a bit of time trying work around this problem. Can
> > > anypne help me with this?
> > > I have several reports that I want to sort on the Column. When I sort
> > > on the Column I call the same report and pass the parameters back to
> > > and just change the Order by clause to the Column name. In the case
> > > when I call the report I want it to appear in the same window. So I
> > > use Target=_top.
> > > On another field on the report I want the report to open in a new
> > > window. Even if I set the URL to RC:Target=_blank it still opens in
> > > the Parent window. If I user Target=_blank when calling the main
> > > report, then all links open in new windows including when I sort on a
> > > column.
> > >
> > > Thanks
> > > Tom
> >
> >
> >

No comments:

Post a Comment