Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

inject javascript Expand / Collapse
Author
Message
Posted Wednesday, April 03, 2013 12:09 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, June 25, 2013 10:44 PM
Points: 32, Visits: 128
Hi Guys,

I am wondering how you all go about inject JS into a report. I have read http://blogs.infosupport.com/reporting-services-javascript-injection/ and for me its not ideal. I hoped there might be a better way. I am writing the report in VS and have included the JS files in the head and also tried adding them in the <asp:ScriptManager...> tag, like:
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="/scripts/jquery-1.3.2.min.js" />
<asp:ScriptReference Path="/scripts/jquery.tipsy.js" />
<asp:ScriptReference Path="/scripts/tooltip.js" />
</Scripts>
</asp:ScriptManager>

So I can see these being referenced into the source of the HTML but, it would seem nothing within the report is rendered by the javascript, however the controls (Next, back Export etc..) pick this up. What am I missing?

Side note: the reports are RDL's from report builder not RDLC from VS.

P.S. all I am trying to do is change the tool tip to something a little more exciting from a presentation point of view.
Post #1438178
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse