Solved

Problem with ScriptX Control in asp.net page

Posted on 2004-10-19
1
586 Views
Last Modified: 2008-03-10
I am facing a weird issue with the ScriptX basic control.
I am using the following code to add the print functionality in the asp.net pages.

<OBJECT id="factory" style="DISPLAY: none" codeBase="http://www.meadroid.com/scriptx/ScriptX.cab#Version=6,0,0,421"
               classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" viewastext>
</OBJECT>
<SCRIPT>

     function PagePrint() {
     factory.printing.portrait = false;
     factory.printing.Print(false);
     }
</SCRIPT>

and I am calling the PagePrint function in the Onclick Event of the PRINT button.


I have added the same code on 10 reports. Surprisingly, this works fine on all the laptops except two. Both the users have are able to view and print all the reports except 1 report (This report is basically displaying a datagrid with  more than 800-900 records). The report  page does not load. It just gives them a blank page whereas all the other pages with the same code and be viewed properly and can also be printed.
When I remove the above code those 2 users can view the report without any problem.
I can't figure out whats wrong...

Also I checked both of them had nortan antivirus and some anti popup software.

I would really appreciate any advise on this.
Thanks

0
Comment
Question by:wilkersons
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 250 total points
ID: 12351726
Check their settings to make sure they have activex and active scripting enabled.  If that does not solve it... what browser, browser version and OS?

Cd&

0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question