最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

JavaScript - SQL Reporting Services - Stack Overflow

matteradmin5PV0评论

Can We insert javascript in a report rendered by sql reporting services?

eg:- when mouse over happens over a cell i would like to open a div as in case of ajax modal popup control usage.

Can We insert javascript in a report rendered by sql reporting services?

eg:- when mouse over happens over a cell i would like to open a div as in case of ajax modal popup control usage.

Share Improve this question edited Feb 20, 2009 at 16:38 Joel Coehoorn 417k114 gold badges578 silver badges815 bronze badges asked Feb 20, 2009 at 16:33 praveenthondapraveenthonda
Add a ment  | 

2 Answers 2

Reset to default 3

Yes, adding JavaScript and jQuery is pletely doable with the results of a SQL query. We have taken the results and looped through them to build up a string that can assign a DIV or CLASS to the rows, columns, or cells. Then apply hover effects to them for the final rendering in your script. We did this for conditional highlighting and conditional hiding of data based on values, along with hover effects for fading in a color on the row/column being hovered upon.

It is not that hard, but it also may not be the most efficient way to do it considering the chance your query results may be hundreds and hundreds of rows.

I would say doable, but check for efficiency.

I've never seen it done and don't exactly like the idea, but here is some information that I dredged up concerning javascript and Reporting Services.

Link

Post a comment

comment list (0)

  1. No comments so far