all groups > sql server reporting services > june 2005 >
You're in the

sql server reporting services

group:

dynamically changing TextDecoration property of a text box


dynamically changing TextDecoration property of a text box Kiran
6/30/2005 6:08:02 PM
sql server reporting services:
I need to make one column on a report to display as hyperlink. I am using
TextDecoration underline property . How do I change the underline property to
None dynamically based on the data. I am writing the following code in the
Expression section of TextDecoration property of the text box.
If Parameters!pParam.Value = "Something" Underline else None

Re: dynamically changing TextDecoration property of a text box Wayne Snyder
7/1/2005 11:10:53 AM
Right click on the box and select properties, then go to the font tab, in
the decoration section click on FX on the right and enter your expression ie

iif(fields!mycol.value = "Yes","Underline","None")

--
Wayne Snyder MCDBA, SQL Server MVP
Mariner, Charlotte, NC
(Please respond only to the newsgroup.)

I support the Professional Association for SQL Server ( PASS) and it's
community of SQL Professionals.
[quoted text, click to view]

Re: dynamically changing TextDecoration property of a text box Aravind
7/18/2005 9:30:18 AM
Hi,
I have a report with a textbox acting as a hyperlink. when i click on it, i
want the target to be opened in a new window, i.e. i want target="_blank" but
i havent found a soln yet to this. could you help me with this?? i cant
believe they left out this while designing reporting services :(
Thanks

[quoted text, click to view]
AddThis Social Bookmark Button