Javascript Error

Stimulsoft Reports.WEB discussion
Post Reply
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Javascript Error

Post 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?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Javascript Error

Post by Alex K. »

Hello,

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

Thank you.
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Re: Javascript Error

Post 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?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Javascript Error

Post 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.
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Re: Javascript Error

Post 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?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Javascript Error

Post 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.
Post Reply