Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Dynamic text color change in SSRS report item

Author  Topic 

ssdeveloper
Starting Member

37 Posts

Posted - 2011-10-26 : 10:48:46
Hi Guys,

Is there a way I can change the color of text in one text box of the report when I mouse over it?

Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-10-27 : 03:16:07
no way you can capture events here like on mouse over. Can you tell whats the purpose of this requirment?


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

ssdeveloper
Starting Member

37 Posts

Posted - 2011-10-27 : 09:32:52
The report users get, does not display the parameter anywhere in the report. It just says the translated version of it. For example, if it says hr_10_27_2011 it says weekly human resources report. The user likes it that way, but if something happens and we(developer) need to troubleshoot it, we don't know the exact parameter because the date (which is unique for one entry)can be anything in the entire week(according to translated version). So we just want to hide it in one color(say white)in a footer or somewhere and we can see it (say blue) when mousing over it. I know we can use tool tip, but there are some other reports which might want to implement this txt color change if works.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-10-28 : 05:43:19
you can do this if you render the report on a asp.net page where you can capture events and do formatting changes in html accordingly.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

ssdeveloper
Starting Member

37 Posts

Posted - 2011-10-31 : 15:53:27
Hi V,

Sorry for the late response, but the report is delivered to users in pdf format. And I thought this could be done through customcode, somehow. I found the following code, but not sure how to incorporate in the ssrs, any thoughts?

http://www.vbforums.com/showthread.php?t=539875

Please let me know if this is possible to call the code in the report.

Thanks in advance
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-11-01 : 04:46:09
quote:
Originally posted by ssdeveloper

Hi V,

Sorry for the late response, but the report is delivered to users in pdf format. And I thought this could be done through customcode, somehow. I found the following code, but not sure how to incorporate in the ssrs, any thoughts?

http://www.vbforums.com/showthread.php?t=539875

Please let me know if this is possible to call the code in the report.

Thanks in advance


you can do in webpages but once you render it in pdf it will be static and you wont be able to capture events and do any processing

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -