简体   繁体   中英

C#.NET How to add a hyperlink in a reportviewer

How can i put a hyperlink in a report which refers to page.aspx?id='Fields!RelativePath.Value' ? I have set the EnableHyperlink property to true.

Thnx in advance

I think your question has been answered here .

EDIT: As an example, on a TextBox: Right Click > Properties > Navigation > Jump to URL This should be set to: ="page.aspx?id=" & Fields!RelativePath.Value

If it's not working, it may be because of relative path issues. I'd suggest using System.AppDomain.CurrentDomain.BaseDirectory to construct the absolute URL to wherever you're trying to get to.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM