Monday, February 20, 2012

rc:Linktargetpossible bug

Hi,
I have created a report that is displayed in an iframe using the
rc:Linktarget to force any links within the report to open in the same frame.
This works fine but when in this second report we click on a link it jumps
out of the frame and loads as the whole page. Now within the first report we
also specify the stylesheet to use and all subsequent reports called from a
link within the reports use the stylesheet as it seems that the rc:StyleSheet
command gets carried across automatically to all report links. It would be
very useful that if we you have set the Linktarget command that this command
would be propergated down to all subsequent reports. Therefore I was
wondering if this could be classed as a bug?
Example:
Report 1's url contains rc:Linktarget=reportframe&rc:StyleSheet=Amended
When you click on the a link to report 2 in report 1 it opens up in
reportframe with the stylesheet applied
Then when you click on a report 3 link in report 2 it uses the whole window
and places the url in the address bar of IE. This url contains the
rc:stylesheet=Amended but the rc:Linktarget is missing.We have the same issue that I posted here:
http://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/default.mspx?dg=microsoft.public.sqlserver.reportingsvcs&mid=b79f0b1a-d507-4904-a039-ce2603800807
We had to work around the issue by using Jump To URL and rebuilding the
report URL every time to keep our customize command in tact. It was a pain,
but it did work.
--
Gregg
"MadLawt" wrote:
> Hi,
> I have created a report that is displayed in an iframe using the
> rc:Linktarget to force any links within the report to open in the same frame.
> This works fine but when in this second report we click on a link it jumps
> out of the frame and loads as the whole page. Now within the first report we
> also specify the stylesheet to use and all subsequent reports called from a
> link within the reports use the stylesheet as it seems that the rc:StyleSheet
> command gets carried across automatically to all report links. It would be
> very useful that if we you have set the Linktarget command that this command
> would be propergated down to all subsequent reports. Therefore I was
> wondering if this could be classed as a bug?
> Example:
> Report 1's url contains rc:Linktarget=reportframe&rc:StyleSheet=Amended
> When you click on the a link to report 2 in report 1 it opens up in
> reportframe with the stylesheet applied
> Then when you click on a report 3 link in report 2 it uses the whole window
> and places the url in the address bar of IE. This url contains the
> rc:stylesheet=Amended but the rc:Linktarget is missing.|||Thanks Gregg, I did see your post, but as no one had answered it I was hoping
that someone out there could explain why the stylesheet command stays set for
subsequent reports and the linktarget does not. I was thinking that we would
have to use the jump to url as well instead of the jump to report, just means
that I will have to pass a parameter with the frame name to the report. to
say this is a pain in the backside is an understatement but we all get used
to work arounds dont we.
"Gregg" wrote:
> We have the same issue that I posted here:
> http://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/default.mspx?dg=microsoft.public.sqlserver.reportingsvcs&mid=b79f0b1a-d507-4904-a039-ce2603800807
> We had to work around the issue by using Jump To URL and rebuilding the
> report URL every time to keep our customize command in tact. It was a pain,
> but it did work.
> --
> Gregg
>
> "MadLawt" wrote:
> > Hi,
> > I have created a report that is displayed in an iframe using the
> > rc:Linktarget to force any links within the report to open in the same frame.
> > This works fine but when in this second report we click on a link it jumps
> > out of the frame and loads as the whole page. Now within the first report we
> > also specify the stylesheet to use and all subsequent reports called from a
> > link within the reports use the stylesheet as it seems that the rc:StyleSheet
> > command gets carried across automatically to all report links. It would be
> > very useful that if we you have set the Linktarget command that this command
> > would be propergated down to all subsequent reports. Therefore I was
> > wondering if this could be classed as a bug?
> >
> > Example:
> > Report 1's url contains rc:Linktarget=reportframe&rc:StyleSheet=Amended
> > When you click on the a link to report 2 in report 1 it opens up in
> > reportframe with the stylesheet applied
> > Then when you click on a report 3 link in report 2 it uses the whole window
> > and places the url in the address bar of IE. This url contains the
> > rc:stylesheet=Amended but the rc:Linktarget is missing.

No comments:

Post a Comment