Page 1 of 1

Javascript Error

Posted: Tue Apr 22, 2014 9:02 pm
by fuhrj
I am using Reports.Web (2012.1.1214.0) in an ASP.NET 4.0 project.

The report is being loaded into a WebViewer.

When the report loads, it displays the Forms window, but then quickly crashes with the following Javascript error while debugging in Visual Studio 2013:

Code: Select all

JavaScript runtime error: Syntax error, unrecognized expression: table#webViewer_##WebReport.MainTable
If I continue through the error, the report executes but returns no data. The report title is visible, but that's it.

Ideas?

Re: Javascript Error

Posted: Wed Apr 23, 2014 6:51 am
by Alex K.
Hello,

Can you please send us a sample project which reproduce the issue for analysis.

Thank you.

Re: Javascript Error

Posted: Thu Apr 24, 2014 9:54 pm
by fuhrj
This error is only being tripped if the report has a Form and it has something to do with jquery 1.8.2. The debugger opens a file called "browserLink" and it bombs on a line referenced by jquery.

/*! jQuery v1.8.2 jquery.com | jquery.org/license */

It looks like some kind of conflict maybe?

Re: Javascript Error

Posted: Fri Apr 25, 2014 12:36 pm
by HighAley
Hello.

There is no full support of Forms in the WebViewer.
Could you send us a sample project and we'll try to do something.

Thank you.

Re: Javascript Error

Posted: Sun Apr 27, 2014 2:47 pm
by fuhrj
Aleksey Andreyanov wrote:Hello.

There is no full support of Forms in the WebViewer.
Could you send us a sample project and we'll try to do something.

Thank you.
Is there a Web method way of requesting parameters from the User, like using a Form?

Re: Javascript Error

Posted: Mon Apr 28, 2014 9:21 am
by HighAley
Hello.

You could use variables with Request From User option.
Here are tutorial videos how to do it.
Also you could find useful information in the Invoice Report With Parameters section of the User Manual.

Thank you.