Question : Microsoft Reporting: setting Action property on textbox

Hi experts,

I have a report which contains a subreport.  The subreport has a textbox.  When the user clicks this textbox, I would like a relative URL to open. I realize this may be a pipe dream but need to at least make progress in that direction.

At present, the HyperLinkTarget property for the ReportViewer is set to "_Self".  If I try a straightforward Action expression for the textbox, such as (Jump to URL) expression ="http://www.experts-exchange.com", the subreport does not render at all, but instead displays the all-too-familiar "Error: The Subreport Could Not Be Showm" message.  If I set the Action to "None" instead of "Jump to URL", the subreport displays.

I see many people having issues getting this behavior to their specifications, but nobody I've encountered is having this much trouble simply getting a hyperlink to render at all  Is there something obvious that I might be missing, or any action I can take to obtain more useful diagnostic information?

In case it has any bearing, the ReportViewer control is dynamically added to a PlaceHolder at runtime.

Thanks in advance.

Answer : Microsoft Reporting: setting Action property on textbox

ReportViewer.LocalReport.EnableHyperlinks had the default value False.  Setting this property True corrected the issue.
Random Solutions  
 
programming4us programming4us