Welcome Guest Search | Active Topics | Sign In | Register

Script Conflict between EO.Web and BO Crystal Report Viewer Options
Sean Clark
Posted: Sunday, September 9, 2012 8:07:34 AM
Rank: Advanced Member
Groups: Member

Joined: 12/24/2008
Posts: 43
Hi

I am trying to add EO.Web controls to a page which also contains a CrystalReportViewer control.

I am finding that there is a conflict in the javascript for the crystal control caused by the addition of the EO controls. I know that Crystal uses Dojo/Mochikit and the error occurs in the getHTML call within the allonone.js include:

Microsoft JScript runtime error: Object doesn't support property or method 'getHTML'

....for(var i in sub){a[j++]=sub[i].getHTML(o.initialIndent,i==0);}a[j++]="</span>"+o.endHTML()....

Without any EO controls on the page this error does not occur.

Could it be that EO.Web redefines some prototype which causes this conflict?

I can post HTML for the page with and without the EO controls but would preferer to do this by email rather than on this forum.

Kind Regards
Sean
eo_support
Posted: Sunday, September 9, 2012 9:28:57 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We added a member into Array.Prototype which caused this problem. We have sent you a new build with this member removed, please try that build and see if it works for you. Please view your private message for the download location of the new build.

Thanks!
Sean Clark
Posted: Sunday, September 9, 2012 1:16:05 PM
Rank: Advanced Member
Groups: Member

Joined: 12/24/2008
Posts: 43
Bingo, that worked...


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.