JQuery :: Get To Load Into SQL Server Reporting Services Report Manager?
Jun 25, 2009
I'm having trouble loading jQuery into SQL Server Reporting Services Report Manager. Since SSRS is a proe-compiles ASPX page, and we are not given the source code, we have little ability to make changes to the interface. If I could add jQuery directly, the progblem would be trivial. However, all we have the ability to modify is an existing Javascript file that is loaded at runtime in the head of each page. I have been able to get this to load relatively reliably using IE 8, but other browsers either don't load it at all, or only on the first pass. Here is the structure that I have in place:
I am not quite sure where to place this question since it involves C#, javascript and even a call to SSRS. What I want to do is call a Sql Server Reporting Services Report, using javascript like so:
The code works and I can pull the correct report. The issue is I wanted some visual que for the user that the report was being generated. that is why i used the javascript functions : cursor_wait(), and cursor_clear(). The problem is I want to display a wait cursor until the window with the report returns and displays the report then reset to the default cursor at that time. But the above code resets the cursor right away without waiting for the report to return. I tried adding attributes to the page form and other methods to access onBlur and such but haven't been able to get there yet.
I have a function that uses the ajax load function to post off some parameters and fill a div with the returned content after a db query has been run to create it. This all works fine, however I would like to be able to replace the div with a loading graphic whilst the content is generated. I assumed this was done by placing the graphic at the start of the function, then using a callback function to remove it and display the actual data once it has been fully generated...
However when I trey to implement this I am getting a strange result in that the callback fires before the content is generated. So my loading graphic disappears and then the content appears sometimes 10 seconds later. How can I ensure the call back only executes once the new content is ready to be displayed ??
Here's my code ... function get_report(){ // Hide #report_here div and show loading graphic here ... $("#report_here").load("/admin/reports/statistics_report/", { // Parameters sent go here }, finished() ); function finished() { // Hide loading graphic and show #report_here div here ... }
I'm building up a RSS reader. In this app, the user will have the option to add and remove urls in a list. What I need is to create a new variable, everytime the user submit the form with the url. The variable must contain the url.
I need a pointer to help me get this working on a dynamic table, it works fine on a static table I know its in the selector but i havent been able to figure it out [URL] $('#table').hideColumns(2);
I have the html and the file from server look like this
html Code HTML4Strict: <div id="container"><a href="#">load form</a></div> file from server: HTML Code:
[Code]....
So basically when i click on load form, the form loaded to the div#container , the link 'load form' disappears. When clicking button 'hide div' the form hide and the link 'load form' reappear.
I'm doing some research about MS WCF 3.5 web services and how it can be used for json-based web services. All of the examples I'm finding use the asp.net ScriptManager tag on a server side page so that a js proxy for the web service methods gets created on page load. I don't want to use asp.net for page generation.
I'm looking for an example of how to use jquery in a non-asp.net rendered page to make calls to the WCF 3.5 web services. IE, I want my client side code to be server agnostic: it could be plain HTML, or an AIR app, etc....not an asp.net app, not a page rendered by asp.net. I think I'm basically looking for a way around having to rely on the asp.net ScriptManager to generate the js proxy: I just want to call the services via jquery ajax calls, without having to rely on what the proxy would generate for me.
BTW, this is research particularly for using WCF 3.5, so no need to recommend other backend WS technologies (unless maybe they are alternate WS engines that have a minimal C# learning curve and are not heavily bound internally to XML documents, like Dream is).
I am trying to develop a dashboard for reporting on a large dataset of customers. When it reports on filtered results it works ok but whenever we filter on something that returns a lot of results (ie. customer without email addresses, or a specific customer type ajax returns blank. I have tested the query and apart from taking a while to return, there is nothing wrong with the query.
[Code]...
This just builds the query dynamically based on the results of the above, ignoring any value that equals "NOFILTER".
Is there any such thing as a jQuery Debugger, i'm trying to learn jQuery but even small things like Syntax errors keep getting in the way and it's hard to track down without any error reporting.
The assignment was supposed to be done in PHP. But I want to know if there is a better way either way. Like can I use AJAX instead of PHP to do that? or change the way the PHP works...
how Google Analytics or Google Adsense lets you copy and paste javascript to your site and you can load data/track visitors/etc. Well, I want to do the same thing for my customers, on their domains, where they load dynamic prices on my server (long story). Is $getJSON the best solution in this day and age? I would prefer to not force them to use frames and I am not worried (nor are they, for reasons I wont' get into) about users who don't use javascript.
In short, our site processes payments for them and there is a unique feature that offers dynamic prices. So if they have javascript code with an order button image, I want them to hit my server and have their javascript code read my server, find the updated price, and display it to their user. note they will be using .html pages, not php, and they are not programmers and I want to simplify it.
Let's say you have a little Ajax script and it sends data to the server to do something. Now the server has an issue of some kind (let's say with the query) and can't so what you expect it to do. What's the best way to tell your awaiting Ajax functionality something went wrong?
My project simulation takes lot of time so I cant monitor that continuously,. I want to send a SMS whenever some simulation is done/ progress / throws an error to my mobile through SMS when I'm away from the PC.. I dont know how to start with this.. how to do this I want to use free online SMS service to do this..
in Gmail (I've noticed it in other services too..)after you log in, progress bar appears. What does it do? Uploads all the JS(containing ajax) files into client's machine? or what?
I would like to Update a Sharepoint List (Document Library) Folders using Web Services with Javascript.
I have searched on Goggle but nothing that updates a document Library using UpdateListsItem method & with it being a clientside i need to pass NT Credentials to the List
I have been successfully using the following "myAjax" function to load text file information from the server.
ajax.js:
After I load the text file, I store the text "records" into an array by doing something like this:
Where the '}' character is my record delimiter. It could just as easily be ' ' or ' ' or the like.
Again, I am not having any problems doing it this way as it suits my current needs.
Now the question(s)
1. Does the call to read the text data from the external file always read in the entire contents or can I read one line or delimited record at a time and store it to the array directly without the text storage?
2. If the text is always read completely (my suspicion), can I safely delete the "TextInformation" after I convert to the array format? Is there any memory penalty for doing it this way as the text information can be somewhat lengthly and I don't like the idea of having doubled memory usage when I only need the information in array format anyway?
This is the idea I am considering, but I don't know if there are drawback to this method of if there is a better way to accomplish the task.
It seems like determining element position in a web page is a difficult task. In the position reporting source code I've looked at there are special fixes for at least some versions of Safari and Opera. I am doing a lot of dragdrop experimentation and in some situations need a position reporting function. The function doesn't need to report the positions of exotic elements like images in button elements; however, I would like a position reporting function that can at least handle combinations of scrollable elements and tables....
which shows reports output formats in dropdown box & once i select option as "PDF" or any output and click finish button, then report o/p should open.I got sample script from forums. where this code gives me alll report output option in dropdown box, but when i select option from dropdownbox. automatically o/p opens.Since i am not java developer i am not aware of what to do, I am into more of reporting.. In this code i noticed they used on change function. is there way we can change to on select & finish button.. I know i should use input button to replace onchange function, but dont know where to put Here's code
<input type="hidden" name="run.outputFormat" value="HTMLFragment"> <script type="text/javascript" > function chgOutput(selFormat)