Solved

Problem with ScriptX Control in asp.net page

Posted on 2004-10-19
1
592 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

724 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