Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

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

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, July 31, 2014 3:02 AM
Points: 32, Visits: 132
Hi Guys,

I am wondering how you all go about inject JS into a report. I have read 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">
<asp:ScriptReference Path="/scripts/jquery-1.3.2.min.js" />
<asp:ScriptReference Path="/scripts/jquery.tipsy.js" />
<asp:ScriptReference Path="/scripts/tooltip.js" />

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