Log in

View Full Version : Reporting Services Tooltip



billw
04-11-2012, 04:11 PM
I'm looking for a way to use javascript within a SSRS tooltip. Hopefully one of these on the site will work. I'm attempting to use javascript for several reasons (tooltip character limit, formatting, etc.), but haven't had success finding any examples of anyone doing so.

Has anyone done such a thing? Any examples?

Thanks.

Bill

traq
04-11-2012, 04:53 PM
Your question is unclear.
Please provide more information, and be as specific as possible.
What do you want to accomplish? What have you already tried? What problems did you encounter?
Also, please be sure that you have included all relevant code and/or a link to the page in question.

I've never used SSRS, but my understanding is that it generates content in many different formats - from XML to PDF to .doc to various image formats. How are you using it - what are you working with now?

billw
04-11-2012, 05:07 PM
Thanks Adrian. SSRS will allow you to export in those formats. But it renders from an XML file (essentially) to HTML. There are specific items (textbox, grid cell, etc.) from which you have the ability to call custom code such as javascript.

What I don't have control over is embedding code into the HTML directly. Just looking for some direction to make something like the custom javascript tooltips work.

Bill

traq
04-12-2012, 12:42 AM
Do you need to insert the javascript into the SSRS-generated XML (or generate the XML with the javascript included)?

Or are you bringing the XML into your webpage (XHR, maybe?) and need to have javascript on the page that can handle it?

Specifically, in your original post, I don't know what you mean by "...within a SSRS tooltip."

billw
04-12-2012, 06:40 PM
I found this link:

http://blogs.infosupport.com/reporting-services-javascript-injection/

This should be what I need.

Thanks for the help.

Bill