cancel
Showing results for 
Search instead for 
Did you mean: 

iframe CSS issue in Crystal reports 13

Former Member
0 Kudos

We currently have applicaation running on VS 2008 and CR for VS2008.

We want to migrate to VS 2010 with CR 13 but we face following problems with Crystal reports :

We have images (ole objects) on our report files to which we apply formula’s (for custom navigation, JavaScript to close the window etc.).
With CR 13 the java scripts do not work. In order to make it work I had to add following registry key under the SAP Business Objects\Crystal reports:

   

     DisableScriptsInHyperlinks = No

 

     However, we do not intend to change the Crystal reports registry entries on the customer’s servers when distributing our product.

Above are the major concerns due to which we are not able to migrate to higher version or Crystal.

In case there is a better solution which can help us fix above 2 issues please suggest. We do want  to upgrade
to .Net 4.0 and CR 13

As I mentioned in this thread; http://scn.sap.com/thread/3199589 One question per thread please. I modified this thread so it only includes one query.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Are you adding the CSS to the report (e.g.; you can apply CSS to each section of a report) or is it applied outside the report? If outside the report, are you naming these CSS files the same as what the default CSS is called? E.g.; toolbar.css must be called tollbar.css.

Does this work if you test it without iFrames?

- Ludek

Former Member
0 Kudos

This issue is not related to the css. The ole objects are images embedded on the report layout.

We have added the code like "javascript:window.close()" in the hyperlink tab on the object, to close the report on click of image.

when the report is generated with CR13 the hyperlink is not available on the images where script is added. however, if i put a website address with http:// it works. Same code used to work properly with VS 2008.

To make this work in CR 13 i had to add a new registry key in the SAP Business Objects\Crystal reports as mentioned above. But i would like to make it work without the registry change.

I am not sure if iframe has something to do with this issue. But anyways i do not have any control over the contents of the report generated within an ifarme.

former_member183750
Active Contributor
0 Kudos

The registry change is imposed by Microsoft for your protection. E.g.; running java scripts is a dangerous thing to be doing security wise and thus is not allowed by default.

- Ludek

Answers (0)