Increase tooltip display time?
hello all,I know this question was asked 3 years ago. Is it still a NO with SSRS 2008? Does anybody know ifI can code in XML to change the tooltip timing? thanks a lot!!!
August 4th, 2009 8:35pm

Cherry Tree,Reporting Services supports several export formats. I assume you mean HTML, such as when the report is requested in Report Manager or SharePoint? Reporting Services doesn't control the tooltip timeout. Internet Explorer and Windows does. So, your question turns to "How can I increase the tooltip timeout in Internet Explorer?" and with some searching you may find a registry or configuration hack.Home page and blog: http://www.prologika.com/
Free Windows Admin Tool Kit Click here and download it now
August 4th, 2009 8:59pm

thanks Teo, I have googled "How can I increase the tooltip timeout in Internet Explorer?" and followed some solutions to modify the registry. However, it doesn't have any effect as far as timeout. Could you kindly provide more information?thanks
August 5th, 2009 5:41pm

Hi Cherry, It looks like you want to increase the tooltip display time. By default, the Reporting Services render the tooltip as Title tag of a HTML object. E.g. <TD Title=tooltip>Show tooltip </TD> In HTML code, each tag has a Title attribute, if a object(tag) has a Title attribute and while moving mouse on the object, the Title text will be shown. But the Title display time cannot be controlled. In a custom HTML page, we can use the OnMouseOver and OnMouseOut events to render a DIV that is used to replace the Title. In this case, we can control the Title display time. Or use JavaScript to capture the event and then display Title text in a custom DIV instead of the original Title layout. Here, I will inform you how to use JavaScript to control the Title display time: 1. I have implemented a JavaScript file. The JavaScript file is used to capture the events and render a custom DIV to display Title Text. We can control the time settings in this file. Please view the end of this post to get the Address. 2. Copy the file the pages folder under the Report Manager virtual directory: <Install Driver>:\Program Files\Microsoft SQL Server\MSSQL.<X>\Reporting Services\ReportManager\Pages 3. Use the follow steps to link the JavaScript file in the Report a. Open the report which uses tooltips. b. Click the menu Report Report Properties c. In the code tab, embed the following code. This code is used to link the JavaScript file automatically. Public Shared Function GetColor() System.Web.HttpContext.Current.Response.Write("<script src=""/Reports/pages/myTitle.js""></script>") Return "Transparent" End Function d. In the Reference tab, add a reference that refer to System.Web e. Go back to the layout mode (Design Mode), change the BackgroundColor of the report to be =Code.GetColor(). This step is used to execute the code automatically while the report is rendering. 4. After finishing the steps above, we have increased the ToolTip display time. We do not need to other thing. To change the display time, please open the JavaScript file and change the time in the file. A sample report and the JavaScript file is available on http://cid-3c7e963ff6ccd974.skydrive.live.com/self.aspx/.Public/Increase%20ToolTip%20display%20time.zip Please feel free to ask, if you have any more questions. Thanks, Jin ChenJin Chen - MSFT
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2009 3:38am

Hi Jin,Is it neccessary to put the files in <Install Driver>:\Program Files\Microsoft SQL Server\MSSQL.<X>\Reporting Services\ReportManager\Pages .Can i put the files into the solution files folder and call from there. I there any other way of increasing the tooltip display time by writing a piece of code in the report itself?Thanks.
November 27th, 2009 11:01am

Hi Jin,I have tried the approach what you have discussed above. But while I tried to run the report, I recieved a warning message as "Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed".I've got no clue what is this error. Can you please tell me how to resolve this. Thanks.
Free Windows Admin Tool Kit Click here and download it now
November 27th, 2009 12:15pm

We have many clients with sql spatial map dashboards that display binded data in tooltips as they hover over areas of the map. They just want to be able to read the data before it disappears. Every tooltip in the report manager seems to be set around 5 seconds. What code is driving the report manager tooltip to terminate at 5 seconds? RS? IE? Windows? Are clients would also like to increase the font sizes of the tooltips. What code determines the font size of the tooltips in report manager RS? IE? Windows? I have tried modifing the cs files in RS, changing current user mouse hover registry in windows along with trying the custom code in the rdl solution provided above. Can't figure this one out. Any ideas are greatly appreciated. Thanks, Perry
June 3rd, 2010 9:10pm

I too am having the : System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. messages. Han anyone found a solution for this. I believe it has to to do with permissions in the rssrvpolicy.config file but I am unsure on how to change it to work.
Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2010 9:33pm

Hi - I did the steps above (SSRS2008) and although I received no errors or problems, the tooltip timeout hasn't increased. It stays around 5 seconds, even if I increase the value in the js file.
June 29th, 2010 3:05pm

Hi , I am facing the same issue mentioned earlier. Is there any solution to increase the tooltip time in ssrs..? Expecting more discussion on this.. Thanks in advance!
Free Windows Admin Tool Kit Click here and download it now
July 26th, 2010 8:25am

Ironically...it works fine with Mozilla!
August 10th, 2010 3:55pm

Ironically, you dont need to do all this for the tooltip to appear for eternity on Mozilla. It works without having to do all the things mentioned above for Mozilla. The above solution does NOT work at all for IE.
Free Windows Admin Tool Kit Click here and download it now
August 12th, 2010 1:58pm

Tested and Agreed!!! I assumed it was working in Mozilla due to the code addition. Clearly not. MS and IE suck!!! :D
August 27th, 2010 10:12am

First, I implemented this workaround with Microsoft Internet Explorer, I am sure it worked with Microsoft Internet Explorer. I only use Microsoft Internet Explorer! Second, in your cases, if the code won't work, it should be issues in my code, not a issue related to Microsoft Internet Explorer. Finally, since this thread is very old, could you please open a new thread?Jin Chen - MSFT
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2010 1:40am

We found a great way. You have to have the report within a reportviewer object on a webpage. This gives you access to javascript. You can set the Go to URL property on the Action page of the object on the report that you want to have a tooltip for. set the expression to: "javascript:void(window.open('YourTooltipWebpage.aspx?YourParameterName=YourParameterValue','Item_Description','menubar=0,toolbar=0,width=250,height=250,left=200,top=200,scrollbars=1'))" Where YourTooltipWebpage is a webpage which you will display your tooltip text. YourParameterName is a paramter to pass to that webpage. The code for the webpage will use C# (or VB) to pick up that parameter and look it up in a table you have made in sql to return the tooltip. Or maybe you could set the YourParameterName value to be the text you want to display. Make the YourTooltipWebpage pick tht parameter up and use it to populate the page with your text. The result is a little window with your text displays to the user and stays until they close it. I'm not going to go into how to use the parameter in the wbpage. Other forums I'm sure will. But this will get you started. Its also great as you have complete control on what to display and how.
October 22nd, 2010 7:52am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics