Javascript Error upon click Export to Word/Excel/PDF/etc.

Stimulsoft Reports.WEB discussion
Post Reply
eric_stimulsoft
Posts: 25
Joined: Tue Feb 25, 2014 5:14 am
Location: Jupiter

Javascript Error upon click Export to Word/Excel/PDF/etc.

Post by eric_stimulsoft »

Good Day,

I was looking for a fix on an error I've encountered while trying to export a report as PDF/Word/Excel or other files but I can't find any fix.

The error says
this.options[this.parentTable.getAttribute(...)] is undefined
..it is a javascript error.

I tried placing a breakpoint inside controller to see if it enters controller part before the javascript error occurs.
But I think the error happens before entering the controller part.

What I did to produce it was,
- click Save to Word/Excel/PDF from report viewer fx
- then error occurs

I am using 2013.3.1800.0 build of Reports.Web (for MVC)
Before I was using I upgrade to 2013.3.1800.0 the export function is working flawlessly. But after the update, this error occurs.

Hoping for your reply.

Thanks.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Javascript Error upon click Export to Word/Excel/PDF/etc

Post by HighAley »

Hello.

Please, try our latest prerelease build.
If the error still occurs, send us step by step description how to reproduce it.

Thank you.
eric_stimulsoft
Posts: 25
Joined: Tue Feb 25, 2014 5:14 am
Location: Jupiter

Re: Javascript Error upon click Export to Word/Excel/PDF/etc

Post by eric_stimulsoft »

Hi, I've tried build 2014.1.1812.0 but I still encounter the error.

I've attached a screenshot(including FireBug) of the error I've encountered during export.
Screenshot of Export Error
Screenshot of Export Error
Stimulsoft Error.PNG (23.84 KiB) Viewed 2658 times
Steps to replicate:
1. Click Save(Export) button beside Print
2. Choose whether export/save it as Adobe PDF File... Microsoft Word File... or Microsoft Excel File...
3. Click either of the three(3)
4. After clicking you will notice that it doesn't respond then if you look at FireBug the error showed up as javascript error.


Also may I know if there are jquery version requirements for the latest build or Q3 2013 build?
I'm using jquery version 1.7.1

Thanks.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Javascript Error upon click Export to Word/Excel/PDF/etc

Post by HighAley »

Hello.

Sorry, but we still couldn't reproduce your issue.
Can you reproduce it on our Demo-site?
Please, send us a sample project which reproduces this issue for analysis.

Thank you.
eric_stimulsoft
Posts: 25
Joined: Tue Feb 25, 2014 5:14 am
Location: Jupiter

Re: Javascript Error upon click Export to Word/Excel/PDF/etc

Post by eric_stimulsoft »

May I know if there is a requirement for jquery version?
Because I think that's the one that causes the problem when I try to export report.

I'm using jquery version 1.7.1
I've tried the demo site, in there I can't replicate the error as well.

Thanks.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Javascript Error upon click Export to Word/Excel/PDF/etc

Post by Vladimir »

Hello.

We do not use jquery in MvcViewer. So, we tried to connect jquery 1.7.1 to the project and does not reproduce the error - everything is working correctly. In the attached archive is our test project. Please correct it according to your project, that we could reproduce the error.

Thank you.
Attachments
MvcViewer (Razor).zip
(9.5 MiB) Downloaded 385 times
Post Reply