Automatic Hyperlinks
- Create the label that is bound to your hyperlink value.
- Create a new “BeforePrint” script by selecting the label with the hyperlink info, selecting “New” for the property Scripts-Before Print.
3. This will automatically take you to the scripts page. Place the following value in the newly created script: ((XRLabel)sender).NavigateUrl = "http://Example.com/" + ((XRLabel)sender).Text;
This statement adds the text value of the label to a URL. If you’re not adding them together simply either remove the first half ("http://Example.com/" +) or the second half (+ ((XRLabel)sender).Text)
4. You should now be able to select preview and click the label, which will take you to each different link. You will need to format the label to your liking.
Comments
0 comments
Please sign in to leave a comment.