SSRS R2: Running report directly thru SSRS server hyperlinks are decorated, running thru a reportviewer UC no hyperlink decoration...???
When we run our reports directly through the reportserver, hyperlinks (jump to report actions) display normally (underlined, in blue.) However, we need to run reports through a reportviewer user control, and in this case the decoration is not applied. We don;t have any hyperlink control logic so not sure why they would not show up as underlined and blue. Any suggestions?? Here's our uc: <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucReportViewer.ascx.cs"<br/> Inherits="Report.FrontEnd.ucReportViewer" %><br/> <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"<br/> Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %><br/> <rsweb:ReportViewer ID="reportViewerControl" runat="server" Width="100%" Height="94%"<br/> AsyncRendering="true" ShowBackButton="true"><br/> </rsweb:ReportViewer> One thing I tried was adding a style sheet with the following, but it did not work (although I don;t think I should have to add that because HL's should just be automatically decorated.): <style type="text/css"> a:link { color: blue; text-decoration: underline; } a:visited { color: purple; text-decoration: underline; } --ACG
July 31st, 2010 3:56pm

Hi ACG, Thank you for your posting. I have reproduced the issue based on your description and your code. The same behavior does not happen in the case that using ReportViewer 10.0(Report Viewer 2010) to access a SQL Server Reporting Services(SSRS) 2008 R2 report. The issue only happens when using Report Viewer 9.0(Report Viewer 2008 or Report Viewer 2008 SP1) to render a SQL Server Reporting Services(SSRS) 2008 R2 report. In this case, we can use Report Viewer 10.0 instead of Report Viewer 9.0 to work around the issue. Alternatively, you could submit a feedback at http://connect.microsoft.com/sql. Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects. Report Viewer 2010 can be downloaded from: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a941c6b2-64dd-4d03-9ca7-4017a0d164fd If you have any more questions, please feel free to ask. Thanks, Jin ChenJin Chen - MSFT
Free Windows Admin Tool Kit Click here and download it now
August 2nd, 2010 9:35am

Thanks for your reply. Will this v10 version of the control only work with VS2010? We are still using VS2008.--ACG
August 2nd, 2010 5:31pm

Actually it looks like it's not compatible, unless you perfrom this hackery: http://blogs.msdn.com/b/changliw/archive/2010/06/29/use-the-reportviewer-2010-control-in-visual-studio-2008-project.aspx Ugh!--ACG
Free Windows Admin Tool Kit Click here and download it now
August 2nd, 2010 5:45pm

I ended up forcing Blue and Underline with expressions.--ACG
August 3rd, 2010 12:01am

I ended up forcing Blue and Underline with expressions. --ACG Can you please provide more details as to how you implemented your solution? Thanks! -Craig
Free Windows Admin Tool Kit Click here and download it now
December 17th, 2010 3:34pm

yes, in the textbox properties, i used an expression to conditionally set font color and underline, as not all my items are hyperlinks. --ACG
December 18th, 2010 11:13am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics